86 return _eventMap.empty();
94 void SetPhase(
uint8 phase);
103 if (phase && phase <= 8)
104 _phase |=
uint8(1 << (phase - 1));
114 if (phase && phase <= 8)
115 _phase &=
uint8(~(1 << (phase - 1)));
202 void CancelEvent(
uint32 eventId);
209 void CancelEventGroup(
uint32 group);
219 return phase <= 8 && (!phase || _phase & (1 << (phase - 1)));
235 void ScheduleNextFromSeries(
uint32 eventData);
245 void ScheduleEventSeries(
uint32 eventId,
uint8 group,
uint8 phase, std::initializer_list<Milliseconds>
const& timeSeries);
253 void ScheduleEventSeries(
uint32 eventId, std::initializer_list<Milliseconds>
const& series);
std::chrono::steady_clock::time_point TimePoint
time_point shorthand typedefs
std::chrono::milliseconds Milliseconds
Milliseconds shorthand typedef.
void AddPhase(uint8 phase)
std::map< uint32, std::queue< Milliseconds > > EventSeriesStore
EventSeriesStore _timerSeries
bool IsInPhase(uint8 phase) const
uint8 GetPhaseMask() const
std::multimap< TimePoint, uint32 > EventStore
void RemovePhase(uint8 phase)
void Update(Milliseconds time)
void Update(VignetteData &vignette, WorldObject const *owner)