mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +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:
+4
-4
@@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "../common/misc_functions.h"
|
||||
#include "../common/packet_functions.h"
|
||||
#include "../common/md5.h"
|
||||
#include "../common/string_util.h"
|
||||
#include "../common/strings.h"
|
||||
#include "worldserver.h"
|
||||
#include "clientlist.h"
|
||||
#include "ucsconfig.h"
|
||||
@@ -159,7 +159,7 @@ void Client45ToServerSayLink(std::string& serverSayLink, const std::string& clie
|
||||
return;
|
||||
}
|
||||
|
||||
auto segments = SplitString(clientSayLink, '\x12');
|
||||
auto segments = Strings::Split(clientSayLink, '\x12');
|
||||
|
||||
for (size_t segment_iter = 0; segment_iter < segments.size(); ++segment_iter) {
|
||||
if (segment_iter & 1) {
|
||||
@@ -196,7 +196,7 @@ void Client50ToServerSayLink(std::string& serverSayLink, const std::string& clie
|
||||
return;
|
||||
}
|
||||
|
||||
auto segments = SplitString(clientSayLink, '\x12');
|
||||
auto segments = Strings::Split(clientSayLink, '\x12');
|
||||
|
||||
for (size_t segment_iter = 0; segment_iter < segments.size(); ++segment_iter) {
|
||||
if (segment_iter & 1) {
|
||||
@@ -231,7 +231,7 @@ void Client55ToServerSayLink(std::string& serverSayLink, const std::string& clie
|
||||
return;
|
||||
}
|
||||
|
||||
auto segments = SplitString(clientSayLink, '\x12');
|
||||
auto segments = Strings::Split(clientSayLink, '\x12');
|
||||
|
||||
for (size_t segment_iter = 0; segment_iter < segments.size(); ++segment_iter) {
|
||||
if (segment_iter & 1) {
|
||||
|
||||
Reference in New Issue
Block a user