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

#include "Player.h"

Public Member Functions

 DuelInfo (Player *opponent, Player *initiator, bool isMounted)
 

Public Attributes

Player *const Opponent
 
Player *const Initiator
 
bool const IsMounted
 
DuelState State = DUEL_STATE_CHALLENGED
 
time_t StartTime = 0
 
time_t OutOfBoundsTime = 0
 

Detailed Description

Constructor & Destructor Documentation

◆ DuelInfo()

DuelInfo::DuelInfo ( Player opponent,
Player initiator,
bool  isMounted 
)
inline
383: Opponent(opponent), Initiator(initiator), IsMounted(isMounted) {}
Player *const Opponent
Definition: Player.h:385
bool const IsMounted
Definition: Player.h:387
Player *const Initiator
Definition: Player.h:386

Member Data Documentation

◆ Initiator

Player* const DuelInfo::Initiator

◆ IsMounted

bool const DuelInfo::IsMounted

◆ Opponent

Player* const DuelInfo::Opponent

◆ OutOfBoundsTime

time_t DuelInfo::OutOfBoundsTime = 0

◆ StartTime

time_t DuelInfo::StartTime = 0

◆ State

DuelState DuelInfo::State = DUEL_STATE_CHALLENGED