added auth level communication methods

This commit is contained in:
kremsy
2015-07-11 15:54:15 +02:00
parent bebd2e7353
commit 1ef9d3622a
2 changed files with 49 additions and 3 deletions

View File

@ -11,11 +11,24 @@ namespace ManiaControl\Communication;
*/
interface CommunicationMethods {
/** Restarts Mania Control
* Optional Params
* - message
* Optional Params
* - message
*/
const RESTART_MANIA_CONTROL = "ManiaControl.Restart";
/** Grands an Authentication Level on a Player
* Required Parameters
* - login (login of the player)
* - level (integer, 0-3 possible, @see AuthenticationManager)
*/
const GRANT_AUTH_LEVEL = "AuthenticationManager.GrandLevel";
/** Revokes an Authentication Level on a Player
* Required Parameters
* - login (login of the player)
*/
const REVOKE_AUTH_LEVEL = "AuthenticationManager.RevokeLevel";
/** Provides the Server Options
* no Parameters
*/