mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 17:26:30 +00:00
[Strings] Refactor Strings Usage (#2305)
* Initial commit checkpoint * More functions converted * Commify * More functions * Fin * Sort declarations * Split functions between files * Bots * Update strings.h * Split * Revert find replaces * Repository template * Money * Misc function * Update CMakeLists.txt * Saylink * Update strings.cpp * Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database * API casings
This commit is contained in:
@@ -36,7 +36,7 @@ void command_spawnstatus(Client *c, const Seperator *sep)
|
||||
filter_type = "Enabled";
|
||||
}
|
||||
|
||||
uint32 spawn_id = 0;
|
||||
uint32 spawn_id = 0;
|
||||
if (is_search) {
|
||||
spawn_id = std::stoul(sep->arg[1]);
|
||||
}
|
||||
@@ -84,7 +84,7 @@ void command_spawnstatus(Client *c, const Seperator *sep)
|
||||
fmt::format(
|
||||
"Spawn {} | Respawn: {} ({} Second{})",
|
||||
spawn_number,
|
||||
ConvertSecondsToTime(seconds_remaining),
|
||||
Strings::SecondsToTime(seconds_remaining),
|
||||
seconds_remaining,
|
||||
seconds_remaining != 1 ? "s" : ""
|
||||
).c_str()
|
||||
@@ -112,7 +112,7 @@ void command_spawnstatus(Client *c, const Seperator *sep)
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (is_all) {
|
||||
c->Message(
|
||||
Chat::White,
|
||||
|
||||
Reference in New Issue
Block a user