From a7e6441afa71c8c0d0eda1a08d218f43e747bc37 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Thu, 6 Jun 2024 22:59:52 +0800 Subject: [PATCH] [bot] Rename `RPC_Unk26` to `RPC_SetRaceCheckpoint` --- bot/net/netrpc.cpp | 6 +++--- raknet/SAMPRPC.h | 2 +- saco/net/netrpc.cpp | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bot/net/netrpc.cpp b/bot/net/netrpc.cpp index ddf9daf..91292af 100644 --- a/bot/net/netrpc.cpp +++ b/bot/net/netrpc.cpp @@ -13,7 +13,7 @@ void EnterVehicle(RPCParameters *rpcParams) {} void ExitVehicle(RPCParameters *rpcParams) {} void SetCheckpoint(RPCParameters *rpcParams) {} void DisableCheckpoint(RPCParameters *rpcParams) {} -void Unk26(RPCParameters *rpcParams) {} +void SetRaceCheckpoint(RPCParameters *rpcParams) {} void Unk27(RPCParameters *rpcParams) {} void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} @@ -280,10 +280,10 @@ void RegisterRPCs(RakClientInterface * pRakClient) { REGISTER_STATIC_RPC(pRakClient,EnterVehicle); REGISTER_STATIC_RPC(pRakClient,ExitVehicle); - REGISTER_STATIC_RPC(pRakClient,Unk26); REGISTER_STATIC_RPC(pRakClient,Unk27); REGISTER_STATIC_RPC(pRakClient,SetCheckpoint); REGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); + REGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,GameModeRestart); @@ -316,10 +316,10 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) { UNREGISTER_STATIC_RPC(pRakClient,EnterVehicle); UNREGISTER_STATIC_RPC(pRakClient,ExitVehicle); - UNREGISTER_STATIC_RPC(pRakClient,Unk26); UNREGISTER_STATIC_RPC(pRakClient,Unk27); UNREGISTER_STATIC_RPC(pRakClient,SetCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); + UNREGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,GameModeRestart); diff --git a/raknet/SAMPRPC.h b/raknet/SAMPRPC.h index e0681b9..fa185c2 100644 --- a/raknet/SAMPRPC.h +++ b/raknet/SAMPRPC.h @@ -18,10 +18,10 @@ #define RPC_Unk3A "\x3A" #define RPC_Unk3B "\x3B" #define RPC_Unk3D "\x3D" -#define RPC_Unk26 "\x26" #define RPC_Unk27 "\x27" #define RPC_SetCheckpoint "\x6B" #define RPC_DisableCheckpoint "\x25" +#define RPC_SetRaceCheckpoint "\x26" #define RPC_UpdateScoresPingsIPs "\x9B" #define RPC_SvrStats "\x66" #define RPC_GameModeRestart "\x28" diff --git a/saco/net/netrpc.cpp b/saco/net/netrpc.cpp index b043970..9dffbe1 100644 --- a/saco/net/netrpc.cpp +++ b/saco/net/netrpc.cpp @@ -7,10 +7,10 @@ void Unk24(RPCParameters *rpcParams) {} void Unk3A(RPCParameters *rpcParams) {} void Unk3B(RPCParameters *rpcParams) {} void Unk3D(RPCParameters *rpcParams) {} -void Unk26(RPCParameters *rpcParams) {} void Unk27(RPCParameters *rpcParams) {} void SetCheckpoint(RPCParameters *rpcParams) {} void DisableCheckpoint(RPCParameters *rpcParams) {} +void SetRaceCheckpoint(RPCParameters *rpcParams) {} void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} void SvrStats(RPCParameters *rpcParams) {} void GameModeRestart(RPCParameters *rpcParams) {} @@ -58,10 +58,10 @@ void RegisterRPCs(RakClientInterface * pRakClient) REGISTER_STATIC_RPC(pRakClient,Unk3A); REGISTER_STATIC_RPC(pRakClient,Unk3B); REGISTER_STATIC_RPC(pRakClient,Unk3D); - REGISTER_STATIC_RPC(pRakClient,Unk26); REGISTER_STATIC_RPC(pRakClient,Unk27); REGISTER_STATIC_RPC(pRakClient,SetCheckpoint); REGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); + REGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,GameModeRestart); @@ -126,10 +126,10 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) UNREGISTER_STATIC_RPC(pRakClient,ServerQuit); UNREGISTER_STATIC_RPC(pRakClient,InitGame); UNREGISTER_STATIC_RPC(pRakClient,Chat); - UNREGISTER_STATIC_RPC(pRakClient,Unk26); UNREGISTER_STATIC_RPC(pRakClient,Unk27); UNREGISTER_STATIC_RPC(pRakClient,SetCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); + UNREGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,GameModeRestart);