mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
Merge branch 'master' into Playerbot
# Conflicts: # src/server/game/Entities/Unit/Unit.cpp
This commit is contained in:
@@ -1411,6 +1411,11 @@ public:
|
||||
[[nodiscard]] uint32 GetQuestMoneyReward(uint8 level, uint32 questMoneyDifficulty) const;
|
||||
void SendServerMail(Player* player, uint32 id, uint32 reqLevel, uint32 reqPlayTime, uint32 rewardMoneyA, uint32 rewardMoneyH, uint32 rewardItemA, uint32 rewardItemCountA, uint32 rewardItemH, uint32 rewardItemCountH, std::string subject, std::string body, uint8 active) const;
|
||||
|
||||
void LoadInstanceSavedGameobjectStateData();
|
||||
bool FindInstanceSavedGameobjectState(uint32 id, uint32 guid);
|
||||
uint8 GetInstanceSavedGameobjectState(uint32 id, uint32 guid);
|
||||
void SetInstanceSavedGameobjectState(uint32 id, uint32 guid, uint8 state);
|
||||
void NewInstanceSavedGameobjectState(uint32 id, uint32 guid, uint8 state);
|
||||
private:
|
||||
// first free id for selected id type
|
||||
uint32 _auctionId; // pussywizard: accessed by a single thread
|
||||
@@ -1580,6 +1585,14 @@ private:
|
||||
std::set<uint32> _transportMaps; // Helper container storing map ids that are for transports only, loaded from gameobject_template
|
||||
|
||||
QuestMoneyRewardStore _questMoneyRewards;
|
||||
|
||||
struct GameobjectInstanceSavedState
|
||||
{
|
||||
uint32 m_instance;
|
||||
uint32 m_guid;
|
||||
unsigned short m_state;
|
||||
};
|
||||
std::vector<GameobjectInstanceSavedState> GameobjectInstanceSavedStateList;
|
||||
};
|
||||
|
||||
#define sObjectMgr ObjectMgr::instance()
|
||||
|
||||
Reference in New Issue
Block a user