refactor(common): 重构宠物相关信息结构
- 修改 PetInfo 和 PetEffectInfo 结构体,统一字段命名规范 - 更新 SkillInfo 结构体,增加技能等级字段 - 删除未使用的 LoginUserInfo 和 ServerInfo 结构体 - 引入 google/uuid 包,用于后续可能的唯一标识生成
This commit is contained in:
35
common/core/info/pet/PetShowOutboundInfo.java
Normal file
35
common/core/info/pet/PetShowOutboundInfo.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package org.nieo.seerproject.common.net.info.pet;
|
||||
|
||||
import lombok.Data;
|
||||
import org.nieo.seerproject.common.annotations.FieldDescription;
|
||||
import org.nieo.seerproject.common.annotations.OutboundMessageType;
|
||||
import org.nieo.seerproject.common.annotations.serialize.AutoCodec;
|
||||
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
||||
import org.nieo.seerproject.common.net.MessageCommandIDRegistry;
|
||||
import org.nieo.seerproject.common.net.OutboundMessage;
|
||||
|
||||
@Data
|
||||
@AutoCodec
|
||||
@OutboundMessageType(MessageCommandIDRegistry.Pet_Show)
|
||||
public class PetShowOutboundInfo implements OutboundMessage {
|
||||
@FieldDescription("米米号")
|
||||
private @UInt long UserID;
|
||||
@FieldDescription("精灵获得的时间")
|
||||
private @UInt long CatchTime;
|
||||
@FieldDescription("精灵编号")
|
||||
private @UInt long PetID;
|
||||
@FieldDescription("1为显示 0为收回")
|
||||
private @UInt long flag;
|
||||
@FieldDescription("个体")
|
||||
private @UInt long dv;
|
||||
@FieldDescription("闪")
|
||||
private @UInt long shiny;
|
||||
@FieldDescription("皮肤id")
|
||||
private @UInt long skinID;
|
||||
@FieldDescription("填充字段")
|
||||
private @UInt long reserved;
|
||||
@FieldDescription("填充字段")
|
||||
private @UInt long reserved1;
|
||||
@FieldDescription("填充字段")
|
||||
private @UInt long reserved2;
|
||||
}
|
||||
Reference in New Issue
Block a user