You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
144 lines
7.4 KiB
144 lines
7.4 KiB
1 month ago
|
namespace Operation;
|
||
|
|
||
|
public enum PermissionCode
|
||
|
{
|
||
|
PERMISSION_NONE = 0,
|
||
|
|
||
|
SYSTEM_DEFAULT = 1,
|
||
|
[PermissionMapping(SYSTEM_DEFAULT)]SYSTEM_OPERATION_LOG = 10,
|
||
|
[PermissionMapping(SYSTEM_DEFAULT)]SYSTEM_MENUS = 11,
|
||
|
[PermissionMapping(SYSTEM_DEFAULT)]SYSTEM_ROLE = 12,
|
||
|
[PermissionMapping(SYSTEM_DEFAULT)]SYSTEM_PERMISSION = 13,
|
||
|
|
||
|
//系统账号
|
||
|
[PermissionMapping(PERMISSION_NONE,"系统账号")]
|
||
|
SYSTEM_ACCOUNT = 100,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]CHACK_AUTH_INFO = 101,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]LANGUAGE_SEARCH = 103,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]UPDATE_JURISDCTION = 104,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]DELETE_ACCOUNT = 105,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]SYSTEM_ACCOUNT_MANAGER = 106,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]SYSTEM_CREATE_ROLE = 107,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]CREATE_ACCOUNT = 108,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]UPDATE_ACCOUNT_ROLE= 109,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]DELETE_ROLE= 110,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]INDEX= 111,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]SELF_MENUS= 112,
|
||
|
[PermissionMapping(SYSTEM_ACCOUNT)]API_LIST= 113,
|
||
|
|
||
|
|
||
|
SERVER_SERVER_MANAGER = 1000,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SERVER_DATA_SELECT = 1001,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SERVER_SELECT = 1002,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SERVER_ALL_SELECT = 1003,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]ADD_NEW_REALM = 1004,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SELECT_REALM = 1005,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]RECENT_OPERATION_REALM = 1006,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SEND_REALM_INFOS = 1007,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]ADD_REALM_INFO = 1008,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]COMMIT_REALM_INFO = 1009,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SELECT_REALM_LIST = 1010,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SELECT_REALM_LIST_HERO = 1011,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SELECT_REALM_LIST_WEB_PAY = 1012,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SELECT_SERVER_LIST = 1013,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]REALM_OPTION = 1014,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]GM_COMMAND = 1015,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]GATE_MONITOR = 1016,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]LIMIT_IP = 1017,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]WEBSITE_SELECT = 1018,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]WEBSITE_UPDATE = 1019,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)]SERVER_CONFIG = 1020,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)] PEAK_ARENA_WORLD = 1021,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)] UPDATE_PEAK_ARENA_WORLD = 1022,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)] FEATURE_SELECT = 1023,
|
||
|
[PermissionMapping(SERVER_SERVER_MANAGER)] FEATURE_UPDATE = 1024,
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
//玩家管理
|
||
|
PLAYER_INFO_MANAGER = 1100,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]CHAT_LIST_INFO = 1102,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]CHAT_RELOAD_CHAT_FILE = 1103,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]CHAT_DOWNLOAD_FILE = 1104,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]CHANGE_PLAYER_NAME_FILE = 1105,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]PLAYER_INFO_SEARCH = 1106,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]PLAYER_DELETE_MAIL = 1107,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]PLAYER_UNLOCK_WEEKLY_BP = 1108,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]GAME_CONFIG_SEARCH = 1109,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]COST_PLAYER_ITEM = 1110,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]ITEM_SEARCHG = 1111,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]ADD_COST_ITEM = 1112,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]DELETE_COST_ITEM = 1113,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_ACCOUNT_INFO = 1114,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_HERO_SKIN = 1115,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]PAY_RECORD = 1116,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_PLAYER_OP = 1117,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]INSERT_PLAYER_OP = 1118,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]COST_BAG_ITEM = 1119,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]USER_ROLE = 1130,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_BAG = 1131,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_ROLE = 1132,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]ADD_USER_NAME = 1133,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]DEL_USER_NAME = 1134,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_USER_NAME = 1135,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]UPDATE_USER_NAME = 1136,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]UPDATE_USER_TASK = 1137,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]SELECT_PLAYER_PRESET = 1138,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]UPDATE_PLAYER_PRESET = 1139,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]DELETE_PLAYER_PRESET = 1140,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]DELETE_PLAYER_PAYMENT_CD = 1141,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]UPDATE_PLAYER_ROLE_DATA = 1142,
|
||
|
[PermissionMapping(PLAYER_INFO_MANAGER)]IMPORT_PLAYER_ROLE_DATA = 1143,
|
||
|
|
||
|
|
||
|
OPERATION_TOOLS = 1300,
|
||
|
//邮件管理
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_SEND = 1301,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_REVIEW = 1302,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_DELETE_REFUSE = 1303,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_RECALLED = 1304,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_SELECT_LIST = 1305,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] MAIL_SEND_CHAT = 1306,
|
||
|
|
||
|
//公告管理
|
||
|
[PermissionMapping(OPERATION_TOOLS)] NOTIFIC_MANAGER = 1400,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] NOTIFIC_SELECT = 1401,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] NOTIFIC_SELECT_CONFIG = 1402,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] NOTIFIC_SELECT_LIMP = 1403,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] NOTIFIC_SEND_LIMP = 1404,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] SHOW_NOTICE_DAY_NOTICE = 1405,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] BAN_NOTICE = 1406,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] DEL_NOTICE = 1407,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] UPDATE_NOTICE = 1408,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] UPDATE_NOTICE_BACKGROUNDS = 1409,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] SELECT_NOTICE_BACKGROUNDS = 1410,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] DEL_NOTICE_BACKGROUNDS = 1411,
|
||
|
|
||
|
[PermissionMapping(OPERATION_TOOLS)]SELECT_GAME_DATA = 1412,
|
||
|
|
||
|
[PermissionMapping(OPERATION_TOOLS)]SELECT_GAME_DATA_DIFF = 1413,
|
||
|
[PermissionMapping(OPERATION_TOOLS)]SELECT_GAME_DATA_CONTEXT_DIFF = 1414,
|
||
|
[PermissionMapping(OPERATION_TOOLS)]SELECT_GAME_DATA_BAK = 1415,
|
||
|
[PermissionMapping(OPERATION_TOOLS)] ACTIVITY_SEARCH = 1416,
|
||
|
|
||
|
//封号管理
|
||
|
BAN_MANAGER = 1500,
|
||
|
[PermissionMapping(BAN_MANAGER)] BAN_SELECT = 1501,
|
||
|
[PermissionMapping(BAN_MANAGER)] UNBAN_SELECT = 1502,
|
||
|
[PermissionMapping(BAN_MANAGER)] BAN_USER_CHAT = 1503,
|
||
|
[PermissionMapping(BAN_MANAGER)] BAN_USERT = 1504,
|
||
|
[PermissionMapping(BAN_MANAGER)] UNBAN_USER = 1505,
|
||
|
|
||
|
//CDK 管理
|
||
|
CDK_MANAGER = 1600,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_SELECT = 1601,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_CREATE = 1602,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_EXPORT = 1603,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_UPDATE_GROUP = 1604,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_ADD = 1605,
|
||
|
[PermissionMapping(CDK_MANAGER)] CDK_DISABLE = 1606,
|
||
|
|
||
|
|
||
|
}
|