Periodically check player proximity to outdoor pvp objectives.

--HG--
branch : trunk
This commit is contained in:
w12x
2008-12-23 10:00:03 +01:00
parent 96e35de691
commit f40479e87f
4 changed files with 59 additions and 43 deletions
+4 -4
View File
@@ -126,11 +126,11 @@ protected:
virtual bool DelObject(uint32 type);
virtual bool DelCapturePoint();
virtual void UpdateActivePlayerProximityCheck();
protected:
// active players in the area of the objective
std::set<uint64> m_ActivePlayerGuids;
int32 m_AllianceActivePlayerCount;
int32 m_HordeActivePlayerCount;
// active players in the area of the objective, 0 - alliance, 1 - horde
std::set<uint64> m_ActivePlayerGuids[2];
// total shift needed to capture the objective
float m_ShiftMaxPhase;
// maximum speed of capture