diff --git a/src/client/ClientServices.cpp b/src/client/ClientServices.cpp index 6321a32..09cf326 100644 --- a/src/client/ClientServices.cpp +++ b/src/client/ClientServices.cpp @@ -378,6 +378,10 @@ void ClientServices::SelectRealm(const char* realmName) { ClientServices::SetSelectedRealmInfo(1); } +void ClientServices::Send(CDataStore* msg) { + ClientServices::Connection()->Send(msg); +} + void ClientServices::SetAccountName(const char* accountName) { SStrCopy(ClientServices::s_accountName, accountName, sizeof(ClientServices::s_accountName)); } diff --git a/src/client/ClientServices.hpp b/src/client/ClientServices.hpp index 798e298..1d8fe5f 100644 --- a/src/client/ClientServices.hpp +++ b/src/client/ClientServices.hpp @@ -43,6 +43,7 @@ class ClientServices : public LoginResponse { static Login* LoginConnection(); static void Logon(const char* accountName, const char* password); static void SelectRealm(const char* realmName); + static void Send(CDataStore* msg); static void SetAccountName(const char* accountName); static void SetCharacterInfo(const CHARACTER_INFO* info); static void SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param);