#pragma once #include "../../utilities/memory.h" class CNetworkGameClient { public: bool IsConnected() { return MEM::CallVFunc(this); } // force game to clear cache and reset delta tick void FullUpdate() { // @ida: #STR: "Requesting full game update (%s)...\n" MEM::CallVFunc(this, CS_XOR("unk")); } int GetDeltaTick() { // @ida: offset in FullUpdate(); // (nDeltaTick = -1) == FullUpdate() called return *reinterpret_cast(reinterpret_cast(this) + 0x25C); } }; class INetworkClientService { public: [[nodiscard]] CNetworkGameClient* GetNetworkGameClient() { return MEM::CallVFunc(this); } };