mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 23:52:17 +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:
1 parent
44c85a0dd7
commit
dfd8f84cac
573 files changed
+5197
-5137
No files matched your search
@@ -9,7 +9,7 @@ void command_gmzone(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
std::string zone_short_name = str_tolower(
|
||||
std::string zone_short_name = Strings::ToLower(
|
||||
sep->IsNumber(1) ?
|
||||
ZoneName(std::stoul(sep->arg[1]), true) :
|
||||
sep->arg[1]
|
||||
@@ -44,13 +44,13 @@ void command_gmzone(Client *c, const Seperator *sep)
|
||||
std::stoul(sep->arg[2]) :
|
||||
0
|
||||
);
|
||||
|
||||
|
||||
std::string instance_identifier = (
|
||||
sep->arg[3] ?
|
||||
sep->arg[3] :
|
||||
"gmzone"
|
||||
);
|
||||
|
||||
|
||||
auto bucket_key = fmt::format(
|
||||
"{}-{}-{}-instance",
|
||||
zone_short_name,
|
||||
|
||||
Reference in new issue
Block a user