|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Classes | |
| struct | InnAreaBounds |
Functions | |
| 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) |
| std::string Skyfire::Rest::FormatInnAreaBounds | ( | InnAreaBounds const & | bounds | ) |
Definition at line 59 of file PlayerRestState.cpp.
References Skyfire::Rest::InnAreaBounds::BoxOrientation, Skyfire::Rest::InnAreaBounds::BoxX, Skyfire::Rest::InnAreaBounds::BoxY, Skyfire::Rest::InnAreaBounds::BoxZ, Skyfire::Rest::InnAreaBounds::MapId, Skyfire::Rest::InnAreaBounds::Radius, Skyfire::Rest::InnAreaBounds::X, Skyfire::Rest::InnAreaBounds::Y, and Skyfire::Rest::InnAreaBounds::Z.
Referenced by debug_commandscript::HandleDebugRestCommand().
| bool Skyfire::Rest::HasInnAreaBounds | ( | InnAreaBounds const & | bounds | ) |
Definition at line 21 of file PlayerRestState.cpp.
References Skyfire::Rest::InnAreaBounds::BoxX, Skyfire::Rest::InnAreaBounds::BoxY, Skyfire::Rest::InnAreaBounds::BoxZ, and Skyfire::Rest::InnAreaBounds::Radius.
Referenced by debug_commandscript::HandleDebugRestCommand(), Player::IsInCurrentInnArea(), and ObjectMgr::LoadTavernAreaTriggers().
| bool Skyfire::Rest::IsInsideInnArea | ( | InnAreaBounds const & | bounds, |
| uint32 | mapId, | ||
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | padding ) |
Definition at line 26 of file PlayerRestState.cpp.
References Skyfire::Rest::InnAreaBounds::BoxOrientation, Skyfire::Rest::InnAreaBounds::BoxX, Skyfire::Rest::InnAreaBounds::BoxY, Skyfire::Rest::InnAreaBounds::BoxZ, Skyfire::Rest::InnAreaBounds::MapId, Skyfire::Rest::InnAreaBounds::Radius, Skyfire::Rest::InnAreaBounds::X, Skyfire::Rest::InnAreaBounds::Y, and Skyfire::Rest::InnAreaBounds::Z.
Referenced by Player::IsInCurrentInnArea(), and ObjectMgr::IsInTavernRestArea().