This commit is contained in:
1
2025-08-28 21:35:56 +00:00
parent 00f38b8c53
commit 79361e68cd
29 changed files with 253 additions and 232 deletions

View File

@@ -0,0 +1,62 @@
package nono
import "blazing/common/socket/handler"
// NonoOutboundInfo 用于表示Nono相关的出站信息
type NonoOutboundInfo struct {
// UserID: 米米号对应uint32类型无符号
UserID uint32
// Num: 未知对应uint32类型无符号
Num uint32
// Flying: 飞行状态 0为不飞行 大于0为飞行模式对应uint32类型无符号
Flying uint32
// Nick: 16字节固定长度16字节字符串
Nick string `struc:"[16]byte"`
// SuperNono: 是不是超能nono对应uint32类型无符号
SuperNono uint32
// Color: nono颜色 00 rgb对应uint32类型无符号
Color uint32
// Power: 未知, 返回的实际数值要*1000对应uint32类型无符号
Power uint32
// Mate: 未知, 返回的实际数值要*1000对应uint32类型无符号
Mate uint32
// IQ: 未知对应uint32类型无符号
IQ uint32
// AI: 未知对应uint16类型无符号短整数
AI uint16
// Birth: 未知, 返回的实际数值要除以1000对应uint32类型无符号
Birth uint32
// ChargeTime: 充电时间对应uint32类型无符号
ChargeTime uint32
// Func: 20字节固定长度20字节数组
Func [20]byte
// SuperEnergy: 超能nono能力对应uint32类型无符号
SuperEnergy uint32
// SuperLevel: 超能nono等级对应uint32类型无符号
SuperLevel uint32
// SuperStage: 超能nono阶段对应uint32类型无符号
SuperStage uint32
}
type NonoInboundInfo struct {
// 消息头部命令ID对应MessageCommandIDRegistry.Nono_Info
Head handler.TomeeHeader `cmd:"9003" struc:"[0]pad"`
// 米米号对应Java的@UInt long类型
UserID uint32 `fieldDescription:"米米号" struc:"uint32" uint:"true"`
}