From fe5b21ed33cedd6b22fa7573eef6738ae5b1c8e5 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Thu, 9 Oct 2025 20:55:36 -0500 Subject: [PATCH] feat(net): implement NetClient::HandleDisconnect --- src/net/connection/NetClient.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/net/connection/NetClient.cpp b/src/net/connection/NetClient.cpp index d01c8ff..f3da714 100644 --- a/src/net/connection/NetClient.cpp +++ b/src/net/connection/NetClient.cpp @@ -255,7 +255,16 @@ int32_t NetClient::HandleData(uint32_t timeReceived, void* data, int32_t size) { } 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; }