mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 00:32:45 +03:00
feat(net): implement NetClient::HandleDisconnect
This commit is contained in:
parent
2b5cbdd629
commit
fe5b21ed33
@ -255,7 +255,16 @@ int32_t NetClient::HandleData(uint32_t timeReceived, void* data, int32_t size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t NetClient::HandleDisconnect() {
|
int32_t NetClient::HandleDisconnect() {
|
||||||
// TODO
|
// TODO push obj mgr
|
||||||
|
|
||||||
|
this->m_netState = NS_INITIALIZED;
|
||||||
|
|
||||||
|
// ConsolePrintf("NetClient::HandleDisconnect()");
|
||||||
|
|
||||||
|
// CGlueMgr::NetDisconnectHandler();
|
||||||
|
|
||||||
|
// TODO pop obj mgr
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user