style: 清理代码注释和格式
This commit is contained in:
@@ -73,23 +73,23 @@ type RPCFightStartinfo struct {
|
||||
|
||||
// FightPetInfo 战斗精灵信息结构体,FightPetInfo类
|
||||
type FightPetInfo struct {
|
||||
// 用户ID(野怪为0),@UInt long
|
||||
// 用户ID(野怪为0)
|
||||
UserID uint32 `fieldDesc:"用户ID 野怪为0" `
|
||||
|
||||
// 当前对战精灵ID,@UInt long
|
||||
// 当前对战精灵ID
|
||||
ID uint32 `fieldDesc:"当前对战精灵ID" `
|
||||
|
||||
Name string `struc:"[16]byte"`
|
||||
// 精灵的捕获时间,@UInt long
|
||||
// 精灵的捕获时间
|
||||
CatchTime uint32 `fieldDesc:"精灵的捕获时间" `
|
||||
|
||||
// 当前HP,@UInt long
|
||||
// 当前HP
|
||||
Hp uint32 `fieldDesc:"当前HP" `
|
||||
|
||||
// 最大HP,@UInt long
|
||||
// 最大HP
|
||||
MaxHp uint32 `fieldDesc:"最大HP" `
|
||||
|
||||
// 当前等级,@UInt long
|
||||
// 当前等级
|
||||
Level uint32 `fieldDesc:"当前等级" `
|
||||
|
||||
// 精灵是否能捕捉(1为能捕捉,0为不能捕捉),
|
||||
@@ -180,18 +180,12 @@ type EnumPetStatus = byte
|
||||
|
||||
// 精灵的能力提升
|
||||
type PropDict struct {
|
||||
// 攻击(@UInt long → uint32)
|
||||
Attack int8
|
||||
// 防御(@UInt long → uint32)
|
||||
Defence int8
|
||||
// 特攻(@UInt long → uint32)
|
||||
SpecialAttack int8
|
||||
// 特防(@UInt long → uint32)
|
||||
Attack int8
|
||||
Defence int8
|
||||
SpecialAttack int8
|
||||
SpecialDefence int8
|
||||
|
||||
// 速度(@UInt long → uint32)
|
||||
Speed int8
|
||||
// 命中(@UInt long → uint32)
|
||||
Speed int8
|
||||
Accuracy int8
|
||||
}
|
||||
|
||||
@@ -204,7 +198,6 @@ type NoteUseSkillOutboundInfo struct {
|
||||
}
|
||||
|
||||
type FightStartOutboundInfo struct {
|
||||
// @UInt long类型
|
||||
IsCanAuto uint32 `fieldDesc:"是否自动 默认给0 怀疑是自动战斗器使用的" `
|
||||
|
||||
// 当前战斗精灵信息1(前端通过userid判断是否为我方)
|
||||
@@ -215,7 +208,7 @@ type FightStartOutboundInfo struct {
|
||||
}
|
||||
|
||||
type S2C_2404 struct {
|
||||
// 用户ID(野怪为0),@UInt long
|
||||
// 用户ID(野怪为0)
|
||||
UserID uint32 `fieldDesc:"userID 如果为野怪则为0" `
|
||||
}
|
||||
type S2C_50005 struct {
|
||||
|
||||
Reference in New Issue
Block a user