优化玩家管理器

This commit is contained in:
huangxiaolei committed 2022-12-10 22:42:20 +08:00
1 parent edd8a98f92
commit d17f687d74
12 files changed
+183 -135

No files matched your search

+3 -1
View File
@@ -6,9 +6,10 @@ import (
)
const (
DbNormal = iota
DbNone = iota
DbInsert
DbDelete
DbNormal
)
const (
@@ -27,6 +28,7 @@ type Player struct {
NickName string `bson:"nickname"` // 玩家昵称
Signature string `bson:"signature"` // 玩家签名
HeadImage uint32 `bson:"headImage"` // 玩家头像
Birthday [2]uint8 `bson:"birthday"` // 生日
NameCard uint32 `bson:"nameCard"` // 当前名片
NameCardList []uint32 `bson:"nameCardList"` // 已解锁名片列表
FriendList map[uint32]bool `bson:"friendList"` // 好友uid列表