TrinityCore
ICNodePoint Class Reference

#include <BattlegroundIC.h>

Public Member Functions

 ICNodePoint (IsleOfConquestNodeState state, IoCStaticNodeInfo const &nodeInfo)
 
IsleOfConquestNodeState GetState () const
 
bool IsContested () const
 
TeamId GetLastControlledTeam () const
 
IoCStaticNodeInfo const & GetNodeInfo () const
 
void UpdateState (IsleOfConquestNodeState state)
 

Private Attributes

IsleOfConquestNodeState _state
 
TeamId _lastControlled
 
IoCStaticNodeInfo _nodeInfo
 

Detailed Description

Definition at line 247 of file BattlegroundIC.h.

Constructor & Destructor Documentation

◆ ICNodePoint()

ICNodePoint::ICNodePoint ( IsleOfConquestNodeState  state,
IoCStaticNodeInfo const &  nodeInfo 
)
inlineexplicit

Definition at line 250 of file BattlegroundIC.h.

Member Function Documentation

◆ GetLastControlledTeam()

TeamId ICNodePoint::GetLastControlledTeam ( ) const
inline

Definition at line 275 of file BattlegroundIC.h.

+ Here is the caller graph for this function:

◆ GetNodeInfo()

IoCStaticNodeInfo const & ICNodePoint::GetNodeInfo ( ) const
inline

Definition at line 277 of file BattlegroundIC.h.

+ Here is the caller graph for this function:

◆ GetState()

IsleOfConquestNodeState ICNodePoint::GetState ( ) const
inline

Definition at line 268 of file BattlegroundIC.h.

+ Here is the caller graph for this function:

◆ IsContested()

bool ICNodePoint::IsContested ( ) const
inline

Definition at line 270 of file BattlegroundIC.h.

◆ UpdateState()

void ICNodePoint::UpdateState ( IsleOfConquestNodeState  state)
inline

Definition at line 279 of file BattlegroundIC.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _lastControlled

TeamId ICNodePoint::_lastControlled
private

Definition at line 301 of file BattlegroundIC.h.

◆ _nodeInfo

IoCStaticNodeInfo ICNodePoint::_nodeInfo
private

Definition at line 302 of file BattlegroundIC.h.

◆ _state

IsleOfConquestNodeState ICNodePoint::_state
private

Definition at line 300 of file BattlegroundIC.h.


The documentation for this class was generated from the following file: