mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-04-18 02:52:47 +03:00
feat(net): handle connect event in NetClient
This commit is contained in:
parent
431ed626c9
commit
2a799ea0d2
@ -1171,6 +1171,7 @@ enum NETSTATE {
|
||||
NS_INITIALIZED = 2,
|
||||
NS_STATE_3 = 3,
|
||||
NS_CONNECTING = 4,
|
||||
NS_CONNECTED = 5,
|
||||
};
|
||||
|
||||
enum WOW_CONN_STATE {
|
||||
|
@ -180,7 +180,12 @@ int32_t NetClient::HandleCantConnect() {
|
||||
}
|
||||
|
||||
int32_t NetClient::HandleConnect() {
|
||||
// TODO
|
||||
// TODO push obj mgr
|
||||
|
||||
this->m_netState = NS_CONNECTED;
|
||||
|
||||
// TODO pop obj mgr
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user