Skip to content

Commit

Permalink
[hotfix]
Browse files Browse the repository at this point in the history
- Update FullUpdate index
  • Loading branch information
Exlodium committed May 27, 2024
1 parent 21694a7 commit ae5a693
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cstrike/sdk/interfaces/inetworkclientservice.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ class CNetworkGameClient
public:
bool IsConnected()
{
return MEM::CallVFunc<bool, 13U>(this);
return MEM::CallVFunc<bool, 12U>(this);
}

// force game to clear cache and reset delta tick
void FullUpdate()
{
// @ida: #STR: "Requesting full game update (%s)...\n"
MEM::CallVFunc<void, 31U>(this, CS_XOR("unk"));
MEM::CallVFunc<void, 28U>(this, CS_XOR("unk"));
}

int GetDeltaTick()
Expand All @@ -27,8 +27,8 @@ class CNetworkGameClient
class INetworkClientService
{
public:
CNetworkGameClient* GetNetworkGameClient()
[[nodiscard]] CNetworkGameClient* GetNetworkGameClient()
{
return *reinterpret_cast<CNetworkGameClient**>(reinterpret_cast<std::uintptr_t>(this) + 0xB8);
return MEM::CallVFunc<CNetworkGameClient*, 23U>(this);
}
};
};

0 comments on commit ae5a693

Please sign in to comment.