![]() |
TrinityCore
|
#include <GameClient.h>
Public Member Functions | |
| GameClient (WorldSession *sessionToServer) | |
| void | AddAllowedMover (Unit *unit) |
| void | RemoveAllowedMover (Unit *unit) |
| bool | IsAllowedToMove (Unit *unit) const |
| bool | IsAllowedToMove (ObjectGuid guid) const |
| void | SetMovedUnit (Unit *target, bool allowMove) |
| Unit * | GetActivelyMovedUnit () const |
| void | SetActivelyMovedUnit (Unit *activelyMovedUnit) |
| Player * | GetBasePlayer () const |
| WorldSession * | GetWorldSession () const |
| void | SendDirectMessage (WorldPacket const *data) const |
| std::string | GetDebugInfo () const |
Private Attributes | |
| GuidUnorderedSet | _allowedMovers |
| Unit * | _activelyMovedUnit |
| WorldSession * | _sessionToServer |
Definition at line 26 of file GameClient.h.
| GameClient::GameClient | ( | WorldSession * | sessionToServer | ) |
Definition at line 23 of file GameClient.cpp.
| void GameClient::AddAllowedMover | ( | Unit * | unit | ) |
Definition at line 29 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
| std::string GameClient::GetDebugInfo | ( | ) | const |
Definition at line 71 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool GameClient::IsAllowedToMove | ( | ObjectGuid | guid | ) | const |
Definition at line 53 of file GameClient.cpp.
| bool GameClient::IsAllowedToMove | ( | Unit * | unit | ) | const |
Definition at line 48 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void GameClient::RemoveAllowedMover | ( | Unit * | unit | ) |
Definition at line 37 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void GameClient::SendDirectMessage | ( | WorldPacket const * | data | ) | const |
Definition at line 66 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void GameClient::SetMovedUnit | ( | Unit * | target, |
| bool | allowMove | ||
| ) |
Definition at line 58 of file GameClient.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 52 of file GameClient.h.
|
private |
Definition at line 48 of file GameClient.h.
|
private |
Definition at line 54 of file GameClient.h.