mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-16 15:42:27 +08:00
优化注册与登录流程
This commit is contained in:
@@ -27,6 +27,7 @@ type Player struct {
|
||||
// 离线数据 请尽量不要定义接口等复杂数据结构
|
||||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
PlayerID uint32 `bson:"PlayerID"` // 玩家uid
|
||||
IsBorn bool // 是否完成开场动画
|
||||
NickName string // 昵称
|
||||
Signature string // 签名
|
||||
HeadImage uint32 // 头像
|
||||
|
||||
@@ -10,10 +10,7 @@ type StaminaInfo struct {
|
||||
CostStamina int32 // 消耗或恢复的耐力
|
||||
PlayerRestoreDelay uint8 // 玩家耐力回复延时
|
||||
VehicleRestoreDelay uint8 // 载具耐力回复延时
|
||||
LastCasterId uint32 // 最后释放技能者的Id
|
||||
LastSkillId uint32 // 最后释放的技能Id
|
||||
LastSkillTime int64 // 最后释放技能的时间
|
||||
LastSkillStartTime int64 // 最后执行开始技能耐力消耗的时间
|
||||
LastSkillChargeTime int64 // 最后执行技能耐力消耗的时间
|
||||
DrownBackDelay uint8 // 溺水返回安全点延时
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user