mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 20:26:14 +08:00
[server] Add few functions
* Add GetMessageHoleLimit() * Add GetMessagesLimit() * Add GetAcksLimit() * Add GetPlayerTimeout() * Add GetMinConnectionTime() * Add GetConnCookies() * Add GetCookieLogging()
This commit is contained in:
@ -81,6 +81,55 @@ BOOL WINAPI CtrlHandler(DWORD type)
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetMessageHoleLimit()
|
||||
{
|
||||
return iMessageHoleLimit;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetMessagesLimit()
|
||||
{
|
||||
return iMessagesLimit;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetAcksLimit()
|
||||
{
|
||||
return iAcksLimit;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetPlayerTimeout()
|
||||
{
|
||||
return iPlayerTimeout;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetMinConnectionTime()
|
||||
{
|
||||
return iMinConnectionTime;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetConnCookies()
|
||||
{
|
||||
return iConnCookies;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
int GetCookieLogging()
|
||||
{
|
||||
return iCookieLogging;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void ServerPasswordChanged()
|
||||
{
|
||||
// TODO: ServerPasswordChanged
|
||||
|
Reference in New Issue
Block a user