MCPcopy Create free account
hub / github.com/EQEmu/EQEmu / SendTaskRequestCooldownTimerMessage

Method SendTaskRequestCooldownTimerMessage

zone/tasks.cpp:134–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void Client::SendTaskRequestCooldownTimerMessage()
135{
136 if (HasTaskRequestCooldownTimer())
137 {
138 uint32_t seconds = task_request_timer.GetRemainingTime() / 1000;
139 MessageString(Chat::Yellow, TASK_REQUEST_COOLDOWN_TIMER,
140 ".", ".", // args start at %3 for this eqstr
141 GetName(),
142 fmt::format_int(seconds / 60).c_str(), // minutes
143 fmt::format_int(seconds % 60).c_str() // seconds
144 );
145 }
146}
147
148void Client::StartTaskRequestCooldownTimer()
149{

Callers 3

TaskSetSelectorMethod · 0.80
TaskQuestSetSelectorMethod · 0.80
SharedTaskSelectorMethod · 0.80

Calls 3

GetNameFunction · 0.85
GetRemainingTimeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected