diff options
author | Shauren <shauren.trinity@gmail.com> | 2015-06-24 00:03:57 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2015-06-24 00:03:57 +0200 |
commit | acc45bcf5d657671d9348e95f069ad17e1bb5631 (patch) | |
tree | e76f661fef9f897281b94fa833f50de4f8f717b7 /src/server/game/Garrison/Garrison.h | |
parent | d799e0cee0c522ebe389b042201ff0981baaba39 (diff) |
Core/Garrisons: Implemented a method to delete garrisons
Diffstat (limited to 'src/server/game/Garrison/Garrison.h')
-rw-r--r-- | src/server/game/Garrison/Garrison.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Garrison/Garrison.h b/src/server/game/Garrison/Garrison.h index 041d20d13b0..e6e44d5f83a 100644 --- a/src/server/game/Garrison/Garrison.h +++ b/src/server/game/Garrison/Garrison.h @@ -110,8 +110,10 @@ public: bool LoadFromDB(PreparedQueryResult garrison, PreparedQueryResult blueprints, PreparedQueryResult buildings, PreparedQueryResult followers, PreparedQueryResult abilities); void SaveToDB(SQLTransaction trans); + static void DeleteFromDB(ObjectGuid::LowType ownerGuid, SQLTransaction trans); bool Create(uint32 garrSiteId); + void Delete(); void Upgrade(); void Enter() const; |