[server] Add few functions

* Add GetMessageHoleLimit()
* Add GetMessagesLimit()
* Add GetAcksLimit()
* Add GetPlayerTimeout()
* Add GetMinConnectionTime()
* Add GetConnCookies()
* Add GetCookieLogging()
This commit is contained in:
RD42 2023-12-02 22:21:00 +08:00
parent f02abb7c83
commit 2cd4e7f3af

View File

@ -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