mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(client): add ClientServices::Send (#108)
Co-authored-by: fallenoak <git@fallenoak.me>
This commit is contained in:
parent
6f07492c7b
commit
046575fb98
@ -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));
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user