- 修改 PetInfo 和 PetEffectInfo 结构体,统一字段命名规范 - 更新 SkillInfo 结构体,增加技能等级字段 - 删除未使用的 LoginUserInfo 和 ServerInfo 结构体 - 引入 google/uuid 包,用于后续可能的唯一标识生成
20 lines
726 B
Go
20 lines
726 B
Go
package org.nieo.seerproject.common.net.info.pet;
|
|
|
|
import lombok.Data;
|
|
import org.nieo.seerproject.common.annotations.FieldDescription;
|
|
import org.nieo.seerproject.common.annotations.InboundMessageType;
|
|
import org.nieo.seerproject.common.annotations.serialize.AutoCodec;
|
|
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
|
import org.nieo.seerproject.common.net.InboundMessage;
|
|
import org.nieo.seerproject.common.net.MessageCommandIDRegistry;
|
|
|
|
@AutoCodec
|
|
@Data
|
|
@InboundMessageType(MessageCommandIDRegistry.Pet_Set_Exp)
|
|
public class PetSetExpInboundInfo implements InboundMessage {
|
|
@FieldDescription("精灵获取时间")
|
|
private @UInt long catchTime;
|
|
@FieldDescription("分配经验")
|
|
private @UInt long exp;
|
|
}
|