mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 14:53:53 -07:00
Add enable/disable log query functionality (#2294)
* Add enable/disable log query functionality This change adds the ability for server owners to allow log querying from inside the client. In the event the functionality is not allowed a result is returned indicating the functionality is disabled. * Added translation Added the ability for the disabled messages to be translated.
This commit is contained in:
parent
c90c4ea41f
commit
a6f1f4c01d
5 changed files with 56 additions and 3 deletions
|
|
@ -64,6 +64,7 @@ public:
|
|||
virtual bool getClientIDRequiredEnabled() const { return false; }
|
||||
virtual bool getRegOnlyServerEnabled() const { return false; }
|
||||
virtual bool getMaxUserLimitEnabled() const { return false; }
|
||||
virtual bool getEnableLogQuery() const { return false; }
|
||||
virtual int getIdleClientTimeout() const { return 0; }
|
||||
virtual int getClientKeepAlive() const { return 0; }
|
||||
virtual int getMaxGameInactivityTime() const { return 9999999; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue