mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 14:03:34 +00:00
72ca0f13ff
* breakout gmlevel enum and make it a class tested that things still work slash command, chat restrictions, packets and serializations * fix GM level for some slash commands * fix new use of this enum
21 lines
788 B
C++
21 lines
788 B
C++
#ifndef __EGAMEMASTERLEVEL__H__
|
|
#define __EGAMEMASTERLEVEL__H__
|
|
|
|
#include <cstdint>
|
|
|
|
enum class eGameMasterLevel : uint8_t {
|
|
CIVILIAN = 0, // Normal player.
|
|
FORUM_MODERATOR = 1, // No permissions on live servers.
|
|
JUNIOR_MODERATOR = 2, // Can kick/mute and pull chat logs.
|
|
MODERATOR = 3, // Can return lost items.
|
|
SENIOR_MODERATOR = 4, // Can ban.
|
|
LEAD_MODERATOR = 5, // Can approve properties.
|
|
JUNIOR_DEVELOPER = 6, // Junior developer & future content team. Civilan on live.
|
|
INACTIVE_DEVELOPER = 7, // Inactive developer, limited permissions.
|
|
DEVELOPER = 8, // Active developer, full permissions on live.
|
|
OPERATOR = 9 // Can shutdown server for restarts & updates.
|
|
};
|
|
|
|
|
|
#endif //!__EGAMEMASTERLEVEL__H__
|