命令管理器添加权限等

This commit is contained in:
UnKownOwO
2022-11-24 19:45:15 +08:00
parent c96deb20e2
commit b125302053
4 changed files with 154 additions and 86 deletions

View File

@@ -50,6 +50,7 @@ type Player struct {
DropInfo *DropInfo `bson:"dropInfo"` // 掉落信息
MainCharAvatarId uint32 `bson:"mainCharAvatarId"` // 主角id
ChatMsgMap map[uint32][]*ChatMsg `bson:"chatMsgMap"` // 聊天信息
IsGM uint8 `bson:"isGM"` // 管理员权限等级
// 在线数据
EnterSceneToken uint32 `bson:"-"` // 玩家的世界进入令牌
DbState int `bson:"-"` // 数据库存档状态