Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
PlayerRestState.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SKYFIRE_PLAYER_REST_STATE_H
7#define SKYFIRE_PLAYER_REST_STATE_H
8
9#include "Define.h"
10
11#include <string>
12
13namespace Skyfire
14{
15namespace Rest
16{
18 {
20 float X = 0.0f;
21 float Y = 0.0f;
22 float Z = 0.0f;
23 float Radius = 0.0f;
24 float BoxX = 0.0f;
25 float BoxY = 0.0f;
26 float BoxZ = 0.0f;
27 float BoxOrientation = 0.0f;
28 };
29
30 bool HasInnAreaBounds(InnAreaBounds const& bounds);
31 bool IsInsideInnArea(InnAreaBounds const& bounds, uint32 mapId, float x, float y, float z, float padding = 0.0f);
32 std::string FormatInnAreaBounds(InnAreaBounds const& bounds);
33}
34}
35
36#endif
std::uint32_t uint32
Definition Define.h:77
std::string FormatInnAreaBounds(InnAreaBounds const &bounds)
bool HasInnAreaBounds(InnAreaBounds const &bounds)
bool IsInsideInnArea(InnAreaBounds const &bounds, uint32 mapId, float x, float y, float z, float padding)