![]() |
TrinityCore
|
#include <Group.h>
Public Member Functions | |
| CountdownInfo () | |
| Seconds | GetTimeLeft () const |
| Seconds | GetTotalTime () const |
| void | StartCountdown (Seconds duration, Optional< time_t > startTime={ }) |
| bool | IsRunning () const |
Private Attributes | |
| time_t | _startTime |
| time_t | _endTime |
| Seconds Group::CountdownInfo::GetTimeLeft | ( | ) | const |
Definition at line 42 of file Group.cpp.
References _endTime, and GameTime::GetGameTime().
Referenced by WorldSession::HandleQueryCountdownTimer().
|
inline |
Definition at line 232 of file Group.h.
Referenced by WorldSession::HandleQueryCountdownTimer().
| bool Group::CountdownInfo::IsRunning | ( | ) | const |
Definition at line 53 of file Group.cpp.
References GameTime::GetGameTime().
Definition at line 47 of file Group.cpp.
References GameTime::GetGameTime().
|
private |
Definition at line 242 of file Group.h.
Referenced by GetTimeLeft().