@ -5,6 +5,7 @@
# define SETTINGSAPI \
{ " SetDifficulty " , SettingFunctions : : SetDifficulty } , \
{ " SetEnforcedLogLevel " , SettingFunctions : : SetEnforcedLogLevel } , \
{ " SetPhysicsFramerate " , SettingFunctions : : SetPhysicsFramerate } , \
\
{ " SetConsoleAllowed " , SettingFunctions : : SetConsoleAllowed } , \
@ -30,6 +31,24 @@ public:
*/
static void SetDifficulty ( unsigned short pid , int difficulty ) ;
/**
* \ brief Set the client log level enforced for a player .
*
* This changes the enforced log level for that player in the server memory , but does not by itself
* send a packet .
*
* Enforcing a certain log level is necessary to prevent players from learning information from
* their console window that they are otherwise unable to obtain , such as the locations of
* other players .
*
* If you do not wish to enforce a log level , simply set enforcedLogLevel to - 1
*
* \ param pid The player ID .
* \ param bool The enforced log level .
* \ return void
*/
static void SetEnforcedLogLevel ( unsigned short pid , int enforcedLogLevel ) ;
/**
* \ brief Set the physics framerate for a player .
*