mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
feat(Core/Chat): new argument parsing and unify chat hyperlink parsing (#6243)
This commit is contained in:
@@ -33,7 +33,7 @@ public:
|
||||
|
||||
~SOAPCommand() { }
|
||||
|
||||
void appendToPrintBuffer(char const* msg)
|
||||
void appendToPrintBuffer(std::string_view msg)
|
||||
{
|
||||
m_printBuffer += msg;
|
||||
}
|
||||
@@ -49,7 +49,7 @@ public:
|
||||
return m_success;
|
||||
}
|
||||
|
||||
static void print(void* callbackArg, char const* msg)
|
||||
static void print(void* callbackArg, std::string_view msg)
|
||||
{
|
||||
((SOAPCommand*)callbackArg)->appendToPrintBuffer(msg);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user