115 lines
3.5 KiB
Go
115 lines
3.5 KiB
Go
package user
|
|
|
|
import (
|
|
"blazing/logic/service/common"
|
|
"blazing/modules/player/model"
|
|
)
|
|
|
|
type SimUserInfoInboundInfo struct {
|
|
Head common.TomeeHeader `cmd:"2051" struc:"skip"`
|
|
UserId uint32 `fieldDescription:"米米号" uint:"true" codec:"true"`
|
|
}
|
|
type SimUserInfoOutboundInfo struct {
|
|
// UserID 米米号
|
|
UserID uint32 `codec:"true"`
|
|
|
|
Nick string `struc:"[16]byte" default:"seer" json:"nick"` // 16字节昵称
|
|
Title uint32 `struc:"uint32" json:"title"` // 称号
|
|
|
|
// Color rgb颜色
|
|
Color uint32 `codec:"true"`
|
|
|
|
// Texture 纹理 0
|
|
Texture uint32 `codec:"true"`
|
|
|
|
// Vip 默认值 1 位置
|
|
Vip uint32 `codec:"true"`
|
|
|
|
// Status 默认值0 未知
|
|
Status uint32 `codec:"true"`
|
|
|
|
// MapType 地图类型 进入地图包传入的字段
|
|
MapType uint32 `codec:"true"`
|
|
|
|
// MapID 地图id
|
|
MapID uint32 `codec:"true"`
|
|
|
|
// IsCanBeTeacher 能不能做教官
|
|
IsCanBeTeacher uint32 `codec:"true"`
|
|
|
|
// TeacherID 教官id
|
|
TeacherID uint32 `codec:"true"`
|
|
|
|
// StudentID 学生id
|
|
StudentID uint32 `codec:"true"`
|
|
|
|
// GraduationCount 教官成绩
|
|
GraduationCount uint32 `codec:"true"`
|
|
|
|
// VipLevel vip等级 8
|
|
VipLevel uint32 `codec:"true"`
|
|
|
|
// TeamId 战队id
|
|
TeamId uint32 `codec:"true"`
|
|
|
|
// IsShow 有没有跟随的精灵
|
|
IsShow uint32 `codec:"true"`
|
|
ClothesCount uint32 `struc:"sizeof=Clothes" json:"clothes_count"` // 穿戴装备数量
|
|
// Clothes 穿戴装备
|
|
Clothes []model.PeopleItemInfo `codec:"true"`
|
|
}
|
|
type MoreUserInfoInboundInfo struct {
|
|
Head common.TomeeHeader `cmd:"2052" struc:"skip"`
|
|
UserId uint32 `fieldDescription:"米米号" uint:"true" codec:"true"`
|
|
}
|
|
type MoreUserInfoOutboundInfo struct {
|
|
// UserID 米米号
|
|
UserID uint32 `codec:"true"`
|
|
|
|
Nick string `struc:"[16]byte" default:"seer" json:"nick"` // 16字节昵称
|
|
Title uint32 `struc:"uint32" json:"title"` // 称号
|
|
RegisterTime uint32 `struc:"uint32" json:"register_time"` // 注册时间(秒时间戳)
|
|
|
|
// PetAllNum 所有精灵数量
|
|
AllPetNumber uint32 `codec:"true"`
|
|
|
|
// PetMaxLev 精灵最大等级
|
|
PetMaxLevel uint32 `codec:"true"`
|
|
|
|
// BossAchievement spt boos成就 20字节 以任务状态完成 3为击败该boss, 目前spt只有12个, 剩下的长度以3填充
|
|
BossAchievement [20]byte `codec:"true"`
|
|
|
|
// GraduationCount 教官成绩
|
|
GraduationCount uint32 `codec:"true"`
|
|
|
|
// MonKingWin 精灵王胜场
|
|
MonKingWin uint32 `codec:"true"`
|
|
|
|
// MessWin 大乱斗胜场
|
|
MessWin uint32 `codec:"true"`
|
|
|
|
// MaxStage 勇者之塔层数
|
|
MaxStage uint32 `codec:"true"`
|
|
|
|
// MaxArenaWins 星际擂台胜场
|
|
MaxArenaWins uint32 `codec:"true"`
|
|
}
|
|
|
|
// AimatInboundInfo 对应Java的AimatInboundInfo类
|
|
type AimatInboundInfo struct {
|
|
Head common.TomeeHeader `cmd:"2104" struc:"skip"`
|
|
ItemId uint32 `description:"物品id 射击激光 物品id为0" codec:"auto" uint:"true"`
|
|
ShootType uint32 `description:"射击类型 未知 给0" codec:"auto" uint:"true"`
|
|
Point model.Pos `description:"射击的坐标 x y" codec:"auto"` // 默认值对应@Builder.Default
|
|
}
|
|
|
|
// AimatOutboundInfo 对应Java的AimatOutboundInfo类
|
|
type AimatOutboundInfo struct {
|
|
UserId uint32 `description:"射出子弹的人 米米号" codec:"auto" uint:"true"`
|
|
ItemId uint32 `description:"物品id 射击激光 物品id为0" codec:"auto" uint:"true"`
|
|
ShootType uint32 `description:"射击类型 未知 给0" codec:"auto" uint:"true"`
|
|
Point model.Pos `description:"射击的坐标 x y" codec:"auto"` // 对应@Builder.Default默认值
|
|
}
|
|
|
|
// M
|