feat(net): handle connect event in NetClient

This commit is contained in:
fallenoak committed 2023-02-26 13:03:16 -06:00
1 parent 431ed626c9
commit 2a799ea0d2
2 files changed
+7 -1

No files matched your search

+1
View File
@@ -1171,6 +1171,7 @@ enum NETSTATE {
NS_INITIALIZED = 2,
NS_STATE_3 = 3,
NS_CONNECTING = 4,
NS_CONNECTED = 5,
};
enum WOW_CONN_STATE {
+6 -1
View File
@@ -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;
}