AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
EntryPointData Struct Reference

#include "Player.h"

Public Member Functions

 EntryPointData ()
 
void ClearTaxiPath ()
 
bool HasTaxiPath () const
 

Public Attributes

uint32 mountSpell {0}
 
std::array< uint32, 2 > taxiPath
 
WorldLocation joinPos
 

Detailed Description

Constructor & Destructor Documentation

◆ EntryPointData()

EntryPointData::EntryPointData ( )
inline
1056 {
1057 ClearTaxiPath();
1058 }
void ClearTaxiPath()
Definition: Player.h:1064

References ClearTaxiPath().

Member Function Documentation

◆ ClearTaxiPath()

void EntryPointData::ClearTaxiPath ( )
inline
1064{ taxiPath.fill(0); }
std::array< uint32, 2 > taxiPath
Definition: Player.h:1061

References taxiPath.

Referenced by EntryPointData(), Player::LoadFromDB(), Player::ProcessDelayedOperations(), and Player::SetEntryPoint().

◆ HasTaxiPath()

bool EntryPointData::HasTaxiPath ( ) const
inline
1065{ return taxiPath[0] && taxiPath[1]; }

References taxiPath.

Referenced by Player::LoadFromDB(), and Player::ProcessDelayedOperations().

Member Data Documentation

◆ joinPos

◆ mountSpell

◆ taxiPath