TrinityCore
Group::CountdownInfo Class Reference

#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
 

Detailed Description

Definition at line 213 of file Group.h.

Constructor & Destructor Documentation

◆ CountdownInfo()

Group::CountdownInfo::CountdownInfo ( )
inline

Definition at line 216 of file Group.h.

Member Function Documentation

◆ GetTimeLeft()

Seconds Group::CountdownInfo::GetTimeLeft ( ) const

Definition at line 42 of file Group.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTotalTime()

Seconds Group::CountdownInfo::GetTotalTime ( ) const
inline

Definition at line 220 of file Group.h.

+ Here is the caller graph for this function:

◆ IsRunning()

bool Group::CountdownInfo::IsRunning ( ) const

Definition at line 53 of file Group.cpp.

+ Here is the call graph for this function:

◆ StartCountdown()

void Group::CountdownInfo::StartCountdown ( Seconds  duration,
Optional< time_t >  startTime = { } 
)

Definition at line 47 of file Group.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _endTime

time_t Group::CountdownInfo::_endTime
private

Definition at line 230 of file Group.h.

◆ _startTime

time_t Group::CountdownInfo::_startTime
private

Definition at line 229 of file Group.h.


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