Core/GameObject: backported restock and despawn handlings for goobers and chest
*thx @Wyrserth
This commit is contained in:
1 parent
23b17ec6e5
commit
f5dd7cdb67
2 files changed
+43
-11
No files matched your search
@@ -313,6 +313,7 @@ class TC_GAME_API GameObject : public WorldObject, public GridObject<GameObject>
|
||||
LootState m_lootState;
|
||||
ObjectGuid m_lootStateUnitGUID; // GUID of the unit passed with SetLootState(LootState, Unit*)
|
||||
bool m_spawnedByDefault;
|
||||
time_t m_restockTime;
|
||||
time_t m_cooldownTime; // used as internal reaction delay time store (not state change reaction).
|
||||
// For traps this: spell casting cooldown, for doors/buttons: reset time.
|
||||
GOState m_prevGoState; // What state to set whenever resetting
|
||||
|
||||
Reference in new issue
Block a user