mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[bot] Implement SvrStats(...)
This commit is contained in:
parent
a817a56c7b
commit
271fa1844e
@ -9,9 +9,14 @@ void Unk26(RPCParameters *rpcParams) {}
|
||||
void Unk27(RPCParameters *rpcParams) {}
|
||||
void UpdateScoresPingsIPs(RPCParameters *rpcParams) {}
|
||||
|
||||
RakNetStatisticsStruct RakServerStats;
|
||||
|
||||
void SvrStats(RPCParameters *rpcParams)
|
||||
{
|
||||
// TODO: SvrStats
|
||||
PCHAR Data = reinterpret_cast<PCHAR>(rpcParams->input);
|
||||
int iBitLength = rpcParams->numberOfBitsOfData;
|
||||
RakNet::BitStream bsData(Data,(iBitLength/8)+1,false);
|
||||
bsData.Read((char *)&RakServerStats,sizeof(RakNetStatisticsStruct));
|
||||
}
|
||||
|
||||
void Unk28(RPCParameters *rpcParams)
|
||||
|
Loading…
Reference in New Issue
Block a user