diff options
author | megamage <none@none> | 2009-06-01 12:48:12 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-06-01 12:48:12 -0500 |
commit | b5a098643f05f2f7aa0a7e0130317998ae847852 (patch) | |
tree | dc83e362a19184f6e42e6384079d2909b458702f /src/game/GameObject.h | |
parent | 9ff8f1ab5eefbb77dcd61d6b8069efe75e232e3f (diff) |
*Display correct building damage state/team on map in wintergrasp.
*Rebuild buidlings after fortress is taken over.
--HG--
branch : trunk
Diffstat (limited to 'src/game/GameObject.h')
-rw-r--r-- | src/game/GameObject.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/GameObject.h b/src/game/GameObject.h index 7e42d0684c4..b365c7494ac 100644 --- a/src/game/GameObject.h +++ b/src/game/GameObject.h @@ -353,13 +353,13 @@ struct GameObjectInfo uint32 damagedHealth; //0 uint32 dmgPctState2; //1 uint32 state1Name; //2 - uint32 state2Name; //3 + uint32 damagedEventId; //3 uint32 damagedDisplayId; //4 uint32 destroyedHealth; //5 uint32 unk6; uint32 unk7; uint32 unk8; - uint32 unk9; + uint32 destroyedEventId; //9 uint32 destroyedDisplayId; //10 } destructibleBuilding; //34 GAMEOBJECT_TYPE_GUILDBANK - empty @@ -648,6 +648,8 @@ class TRINITY_DLL_SPEC GameObject : public WorldObject bool IsInRange(float x, float y, float z, float radius) const; void TakenDamage(uint32 damage); void Rebuild(); + + void EventInform(uint32 eventId); protected: uint32 m_charges; // Spell charges for GAMEOBJECT_TYPE_SPELLCASTER (22) uint32 m_spellId; |