TrinityCore
Loading...
Searching...
No Matches
ICNodePoint Class Reference

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 124 of file battleground_isle_of_conquest.cpp.

Constructor & Destructor Documentation

◆ ICNodePoint()

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

Member Function Documentation

◆ GetLastControlledTeam()

◆ GetNodeInfo()

◆ GetState()

◆ IsContested()

bool ICNodePoint::IsContested ( ) const
inline

Definition at line 147 of file battleground_isle_of_conquest.cpp.

References _state, ConflictA, and ConflictH.

◆ UpdateState()

Member Data Documentation

◆ _lastControlled

TeamId ICNodePoint::_lastControlled
private

◆ _nodeInfo

IoCStaticNodeInfo ICNodePoint::_nodeInfo
private

Definition at line 179 of file battleground_isle_of_conquest.cpp.

Referenced by GetNodeInfo().

◆ _state

IsleOfConquestNodeState ICNodePoint::_state
private

Definition at line 177 of file battleground_isle_of_conquest.cpp.

Referenced by GetState(), IsContested(), and UpdateState().


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