[svn] * Minor code fixes

* Move account related functions from ObjectMgr to AccountMgr and drop duplicate functions - source mangos
* recognize the dummy spells 38637, 38638 and 38639 as negative - source mangos
* added new command ".reload all_locales". Now all locales_* tables can be reloaded - source mangos

--HG--
branch : trunk
This commit is contained in:
KingPin
2008-10-20 12:59:45 -05:00
parent 35f378aef9
commit cdb7fd43ee
13 changed files with 141 additions and 59 deletions
-3
View File
@@ -396,9 +396,6 @@ class ObjectMgr
bool GetPlayerNameByGUID(const uint64 &guid, std::string &name) const;
uint32 GetPlayerTeamByGUID(const uint64 &guid) const;
uint32 GetPlayerAccountIdByGUID(const uint64 &guid) const;
uint32 GetSecurityByAccount(uint32 acc_id) const;
bool GetAccountNameByAccount(uint32 acc_id, std::string &name) const;
uint32 GetAccountByAccountName(std::string name) const;
uint32 GetNearestTaxiNode( float x, float y, float z, uint32 mapid );
void GetTaxiPath( uint32 source, uint32 destination, uint32 &path, uint32 &cost);