mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(client): handle successful authentication in ClientServices
This commit is contained in:
parent
9fe2e2e8ff
commit
5355b75768
10 changed files with 60 additions and 0 deletions
|
|
@ -44,6 +44,10 @@ int32_t NetClient::Initialize() {
|
|||
return 1;
|
||||
}
|
||||
|
||||
void NetClient::SetLoginData(LoginData* loginData) {
|
||||
memcpy(&this->m_loginData, loginData, sizeof(this->m_loginData));
|
||||
}
|
||||
|
||||
void NetClient::SetMessageHandler(NETMESSAGE msgId, MESSAGE_HANDLER handler, void* param) {
|
||||
this->m_handlers[msgId] = handler;
|
||||
this->m_handlerParams[msgId] = param;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue