feat(login): 初始化玩家登录信息中的 Nonono
This commit is contained in:
@@ -77,7 +77,7 @@ type NonoFollowOutInfo struct {
|
||||
Flag uint32 `fieldDescription:"1为跟随 0为收回 且如果为收回 那么后续结构不需要发送, 不序列化" uint:"true" serialize:"false"`
|
||||
|
||||
// NonoNick nono名字 补到16字节
|
||||
NonoNick string `struc:"[16]byte"`
|
||||
Nick string `struc:"[16]byte"`
|
||||
|
||||
// Color nono颜色 rpg,改为uint32
|
||||
Color uint32 `fieldDescription:"nono颜色 rpg" uint:"true"`
|
||||
@@ -85,3 +85,11 @@ type NonoFollowOutInfo struct {
|
||||
// Power 能量值 前端显示除以1000后的值,改为uint32
|
||||
Power uint32 `fieldDescription:"能量值 前端显示除以1000后的值" uint:"true"`
|
||||
}
|
||||
type SwitchFlyingInboundInfo struct {
|
||||
Head player.TomeeHeader `cmd:"2112" struc:"[0]pad"`
|
||||
Type uint32 `description:"开关, 0为取消飞行模式, 大于0为开启飞行模式" codec:"auto" uint:"true"` // 对应@FieldDescription、@UInt、@AutoCodec
|
||||
} // SwitchFlyingOutboundInfo 对应Java的SwitchFlyingOutboundInfo类
|
||||
type SwitchFlyingOutboundInfo struct {
|
||||
UserId uint32 `description:"玩家账号ID" codec:"auto" uint:"true"` // 对应@FieldDescription、@UInt、@AutoCodec
|
||||
Type uint32 `description:"开关, 0为取消飞行模式, 大于0为开启飞行模式" codec:"auto" uint:"true"` // 对应@FieldDescription、@UInt、@AutoCodec
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user