Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
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
13
namespace
Skyfire
14
{
15
namespace
Rest
16
{
17
struct
InnAreaBounds
18
{
19
uint32
MapId
= 0;
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
Define.h
uint32
std::uint32_t uint32
Definition
Define.h:77
Skyfire::Rest
Definition
PlayerRestState.cpp:15
Skyfire::Rest::FormatInnAreaBounds
std::string FormatInnAreaBounds(InnAreaBounds const &bounds)
Definition
PlayerRestState.cpp:59
Skyfire::Rest::HasInnAreaBounds
bool HasInnAreaBounds(InnAreaBounds const &bounds)
Definition
PlayerRestState.cpp:21
Skyfire::Rest::IsInsideInnArea
bool IsInsideInnArea(InnAreaBounds const &bounds, uint32 mapId, float x, float y, float z, float padding)
Definition
PlayerRestState.cpp:26
Skyfire
Definition
AuthPatchTransfer.h:12
Skyfire::Rest::InnAreaBounds
Definition
PlayerRestState.h:18
Skyfire::Rest::InnAreaBounds::X
float X
Definition
PlayerRestState.h:20
Skyfire::Rest::InnAreaBounds::BoxZ
float BoxZ
Definition
PlayerRestState.h:26
Skyfire::Rest::InnAreaBounds::BoxY
float BoxY
Definition
PlayerRestState.h:25
Skyfire::Rest::InnAreaBounds::Radius
float Radius
Definition
PlayerRestState.h:23
Skyfire::Rest::InnAreaBounds::MapId
uint32 MapId
Definition
PlayerRestState.h:19
Skyfire::Rest::InnAreaBounds::BoxOrientation
float BoxOrientation
Definition
PlayerRestState.h:27
Skyfire::Rest::InnAreaBounds::BoxX
float BoxX
Definition
PlayerRestState.h:24
Skyfire::Rest::InnAreaBounds::Z
float Z
Definition
PlayerRestState.h:22
Skyfire::Rest::InnAreaBounds::Y
float Y
Definition
PlayerRestState.h:21
src
server
game
Entities
Player
PlayerRestState.h
Generated on
for Project SkyFire Core by
1.17.0