aboutsummaryrefslogtreecommitdiff
path: root/src/game/Wintergrasp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Wintergrasp.h')
-rw-r--r--src/game/Wintergrasp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/Wintergrasp.h b/src/game/Wintergrasp.h
index 56d6657fee6..5a39652cecd 100644
--- a/src/game/Wintergrasp.h
+++ b/src/game/Wintergrasp.h
@@ -93,6 +93,8 @@ class OPvPWintergrasp : public OutdoorPvP
void HandleKill(Player *killer, Unit *victim);
void SendInitWorldStatesTo(Player *player = NULL);
+
+ bool Update(uint32 diff);
protected:
TeamId m_defender;
int32 m_tenacityStack;
@@ -104,12 +106,17 @@ class OPvPWintergrasp : public OutdoorPvP
TeamPairMap m_creEntryPair, m_goDisplayPair;
+ bool m_wartime;
+ uint32 m_timer;
+
void ChangeDefender();
void UpdateTenacityStack();
bool UpdateCreatureInfo(Creature *creature);
void UpdateAllWorldObject();
bool UpdateGameObjectInfo(GameObject *go);
+
+ void RebuildAllBuildings();
};
#endif