[saco] Implement/match CNetGame::UpdateScoresPingsIPs; the six argument RPC overload sits at vtable slot 25 because MSVC reverses an overload set

This commit is contained in:
ricardoofnl
2026-09-04 22:18:55 +07:00
parent de62ab5a26
commit 4def6b65da
2 changed files with 18 additions and 0 deletions
+16
View File
@@ -9,6 +9,8 @@ extern CAudioStream *pAudioStream;
void FUNC_100AABE0(); // .text:100AABE0
DWORD dword_10118A18;
//----------------------------------------------------
// MATCH
@@ -249,6 +251,20 @@ void CNetGame::AttemptConnect()
//----------------------------------------------------
void CNetGame::UpdateScoresPingsIPs()
{
if(GetTickCount() - dword_10118A18 > 3000)
{
dword_10118A18 = GetTickCount();
RakNet::BitStream bsSend;
if(GetRakClient())
GetRakClient()->RPC(RPC_UpdateScoresPingsIPs, &bsSend, HIGH_PRIORITY, RELIABLE, 0, FALSE);
}
}
//----------------------------------------------------
void CNetGame::ResetWorldBounds()
{
if(field_3D5->field_2B) FUNC_100AABE0();
+2
View File
@@ -131,6 +131,8 @@ public:
void Packet_InvalidPassword(Packet *p); // .text:10008E20
void Packet_ConnectionAttemptFailed(Packet *p); // .text:10008E60
void UpdateScoresPingsIPs(); // .text:10008F10
void ToggleNameTagStatus(); // .text:10008E90
void sub_1000A540(); // .text:1000A540
};