|
| ControlZone (GameObject &owner) |
|
void | Update (uint32 diff) override |
|
TeamId | GetControllingTeam () const |
|
GuidUnorderedSet const * | GetInsidePlayers () const |
|
void | ActivateObject (GameObjectActions action, int32, WorldObject *, uint32, int32) override |
|
void | SetValue (float value) |
|
void | HandleHeartbeat () |
|
void | SearchTargets (std::vector< Player * > &targetList) |
|
float | CalculatePointsPerSecond (std::vector< Player * > const &targetList) |
|
void | HandleUnitEnterExit (std::vector< Player * > const &newTargetList) |
|
float | GetMaxHordeValue () const |
|
float | GetMinAllianceValue () const |
|
void | TriggerEvent (uint32 eventId) const |
|
uint32 | GetStartingValue () const |
|
| GameObjectTypeBase (GameObject &owner) |
|
virtual | ~GameObjectTypeBase ()=default |
|
virtual void | Update (uint32 diff) |
|
virtual void | OnStateChanged (GOState oldState, GOState newState) |
|
virtual void | OnRelocated () |
|
virtual bool | IsNeverVisibleFor (WorldObject const *seer, bool allowServersideObjects) const |
|
virtual void | ActivateObject (GameObjectActions action, int32 param, WorldObject *spellCaster=nullptr, uint32 spellId=0, int32 effectIndex=-1) |
|
Definition at line 575 of file GameObject.cpp.
◆ ControlZone()
GameObjectType::ControlZone::ControlZone |
( |
GameObject & |
owner | ) |
|
|
inlineexplicit |
◆ ActivateObject()
◆ CalculatePointsPerSecond()
float GameObjectType::ControlZone::CalculatePointsPerSecond |
( |
std::vector< Player * > const & |
targetList | ) |
|
|
inline |
◆ GetControllingTeam()
TeamId GameObjectType::ControlZone::GetControllingTeam |
( |
| ) |
const |
|
inline |
◆ GetInsidePlayers()
GuidUnorderedSet const * GameObjectType::ControlZone::GetInsidePlayers |
( |
| ) |
const |
|
inline |
◆ GetMaxHordeValue()
float GameObjectType::ControlZone::GetMaxHordeValue |
( |
| ) |
const |
|
inline |
◆ GetMinAllianceValue()
float GameObjectType::ControlZone::GetMinAllianceValue |
( |
| ) |
const |
|
inline |
◆ GetStartingValue()
uint32 GameObjectType::ControlZone::GetStartingValue |
( |
| ) |
const |
|
inline |
◆ HandleHeartbeat()
void GameObjectType::ControlZone::HandleHeartbeat |
( |
| ) |
|
|
inline |
◆ HandleUnitEnterExit()
void GameObjectType::ControlZone::HandleUnitEnterExit |
( |
std::vector< Player * > const & |
newTargetList | ) |
|
|
inline |
◆ SearchTargets()
void GameObjectType::ControlZone::SearchTargets |
( |
std::vector< Player * > & |
targetList | ) |
|
|
inline |
◆ SetValue()
void GameObjectType::ControlZone::SetValue |
( |
float |
value | ) |
|
|
inline |
◆ TriggerEvent()
void GameObjectType::ControlZone::TriggerEvent |
( |
uint32 |
eventId | ) |
const |
|
inline |
◆ Update()
void GameObjectType::ControlZone::Update |
( |
uint32 |
diff | ) |
|
|
inlineoverridevirtual |
◆ _contestedTriggered
bool GameObjectType::ControlZone::_contestedTriggered |
|
private |
◆ _heartbeatRate
◆ _heartbeatTracker
TimeTracker GameObjectType::ControlZone::_heartbeatTracker |
|
private |
◆ _insidePlayers
◆ _previousTeamId
TeamId GameObjectType::ControlZone::_previousTeamId |
|
private |
◆ _value
float GameObjectType::ControlZone::_value |
|
private |
The documentation for this class was generated from the following file: