- 修改 PetInfo 和 PetEffectInfo 结构体,统一字段命名规范 - 更新 SkillInfo 结构体,增加技能等级字段 - 删除未使用的 LoginUserInfo 和 ServerInfo 结构体 - 引入 google/uuid 包,用于后续可能的唯一标识生成
50 lines
1.5 KiB
Go
50 lines
1.5 KiB
Go
package org.nieo.seerproject.common.net.info.pet;
|
|
|
|
import lombok.Data;
|
|
import lombok.experimental.SuperBuilder;
|
|
import org.nieo.seerproject.common.annotations.FieldDescription;
|
|
import org.nieo.seerproject.common.annotations.serialize.AutoCodec;
|
|
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
|
|
|
@Data
|
|
@AutoCodec
|
|
@SuperBuilder
|
|
public class UpdatePropInfo {
|
|
@FieldDescription("精灵的捕获时间")
|
|
private @UInt long catchTime;
|
|
@FieldDescription("精灵id")
|
|
private @UInt long id;
|
|
@FieldDescription("精灵等级")
|
|
private @UInt long level;
|
|
@FieldDescription("已获得的总经验")
|
|
private @UInt long exp;
|
|
@FieldDescription("升到下一级所需总经验")
|
|
private @UInt long currentLevelExp;
|
|
@FieldDescription("到下一级升级所需的经验")
|
|
private @UInt long nextLvExp;
|
|
@FieldDescription("最大血量")
|
|
private @UInt long maxHp;
|
|
@FieldDescription("攻击")
|
|
private @UInt long attack;
|
|
@FieldDescription("防御")
|
|
private @UInt long defence;
|
|
@FieldDescription("特攻")
|
|
private @UInt long sa;
|
|
@FieldDescription("特防")
|
|
private @UInt long sd;
|
|
@FieldDescription("速度")
|
|
private @UInt long sp;
|
|
@FieldDescription("hp学习力")
|
|
private @UInt long ev_hp;
|
|
@FieldDescription("攻击学习力")
|
|
private @UInt long ev_a;
|
|
@FieldDescription("防御学习力")
|
|
private @UInt long ev_d;
|
|
@FieldDescription("特攻学习力")
|
|
private @UInt long ev_sa;
|
|
@FieldDescription("特防学习力")
|
|
private @UInt long ev_sd;
|
|
@FieldDescription("速度学习力")
|
|
private @UInt long ev_sp;
|
|
}
|