TrinityCore
SpellHistory::ChargeEntry Struct Reference

#include <SpellHistory.h>

Public Member Functions

 ChargeEntry ()=default
 
 ChargeEntry (Clock::time_point startTime, Duration rechargeTime)
 
 ChargeEntry (Clock::time_point startTime, Clock::time_point endTime)
 

Public Attributes

Clock::time_point RechargeStart
 
Clock::time_point RechargeEnd
 

Constructor & Destructor Documentation

◆ ChargeEntry() [1/3]

SpellHistory::ChargeEntry::ChargeEntry ( )
default

◆ ChargeEntry() [2/3]

SpellHistory::ChargeEntry::ChargeEntry ( Clock::time_point  startTime,
Duration  rechargeTime 
)
inline
65 : RechargeStart(startTime), RechargeEnd(startTime + rechargeTime) { }
Clock::time_point RechargeEnd
Definition: SpellHistory.h:69
Clock::time_point RechargeStart
Definition: SpellHistory.h:68

◆ ChargeEntry() [3/3]

SpellHistory::ChargeEntry::ChargeEntry ( Clock::time_point  startTime,
Clock::time_point  endTime 
)
inline
66 : RechargeStart(startTime), RechargeEnd(endTime) { }
Clock::time_point RechargeEnd
Definition: SpellHistory.h:69
Clock::time_point RechargeStart
Definition: SpellHistory.h:68

Member Data Documentation

◆ RechargeEnd

Clock::time_point SpellHistory::ChargeEntry::RechargeEnd

◆ RechargeStart

Clock::time_point SpellHistory::ChargeEntry::RechargeStart

The documentation for this struct was generated from the following file: