mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +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:
parent
f02abb7c83
commit
2cd4e7f3af
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user