mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Use ObjectMgr/AccountMgr functions instead explici DB quaries.
This commit is contained in:
parent
42b077df0c
commit
911dbe0b29
4 changed files with 34 additions and 37 deletions
|
|
@ -391,6 +391,7 @@ class ObjectMgr
|
|||
bool GetPlayerNameByGUID(const uint64 &guid, std::string &name) const;
|
||||
uint32 GetPlayerTeamByGUID(const uint64 &guid) const;
|
||||
uint32 GetPlayerAccountIdByGUID(const uint64 &guid) const;
|
||||
uint32 GetPlayerAccountIdByPlayerName(std::string name) const;
|
||||
|
||||
uint32 GetNearestTaxiNode( float x, float y, float z, uint32 mapid );
|
||||
void GetTaxiPath( uint32 source, uint32 destination, uint32 &path, uint32 &cost);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue