TrinityCore
|
#include <CombatManager.h>
Static Public Attributes | |
static const uint32 | PVP_COMBAT_TIMEOUT = 5 * IN_MILLISECONDS |
Private Member Functions | |
PvPCombatReference (Unit *first, Unit *second) | |
bool | Update (uint32 tdiff) |
void | RefreshTimer () |
Private Attributes | |
uint32 | _combatTimer = PVP_COMBAT_TIMEOUT |
Friends | |
class | CombatManager |
Additional Inherited Members | |
Public Member Functions inherited from CombatReference | |
Unit * | GetOther (Unit const *me) const |
void | EndCombat () |
void | SuppressFor (Unit *who) |
bool | IsSuppressedFor (Unit const *who) const |
CombatReference (CombatReference const &)=delete | |
CombatReference & | operator= (CombatReference const &)=delete |
Public Attributes inherited from CombatReference | |
Unit *const | first |
Unit *const | second |
bool const | _isPvP |
Protected Member Functions inherited from CombatReference | |
CombatReference (Unit *a, Unit *b, bool pvp=false) | |
void | Refresh () |
void | Suppress (Unit *who) |
Protected Attributes inherited from CombatReference | |
bool | _suppressFirst = false |
bool | _suppressSecond = false |
Definition at line 82 of file CombatManager.h.
Definition at line 87 of file CombatManager.h.
|
private |
Definition at line 124 of file CombatManager.cpp.
|
private |
|
friend |
Definition at line 94 of file CombatManager.h.
|
private |
Definition at line 92 of file CombatManager.h.
|
static |
Definition at line 84 of file CombatManager.h.