refactor(common): 重构宠物相关信息结构
- 修改 PetInfo 和 PetEffectInfo 结构体,统一字段命名规范 - 更新 SkillInfo 结构体,增加技能等级字段 - 删除未使用的 LoginUserInfo 和 ServerInfo 结构体 - 引入 google/uuid 包,用于后续可能的唯一标识生成
This commit is contained in:
24
common/core/info/map/PeopleWalkOutboundInfo.java
Normal file
24
common/core/info/map/PeopleWalkOutboundInfo.java
Normal file
@@ -0,0 +1,24 @@
|
||||
package org.nieo.seerproject.common.net.info.map;
|
||||
|
||||
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;
|
||||
import org.nieo.seerproject.common.structs.Point;
|
||||
|
||||
@Data
|
||||
@AutoCodec
|
||||
@OutboundMessageType(MessageCommandIDRegistry.People_Walk)
|
||||
public class PeopleWalkOutboundInfo implements OutboundMessage {
|
||||
@FieldDescription("0为走,1为飞行模式")
|
||||
public @UInt long flag;
|
||||
@FieldDescription("走动的人的米米号")
|
||||
public @UInt long userID;
|
||||
@FieldDescription("直接给坐标x,y")
|
||||
public Point point = new Point();
|
||||
@FieldDescription("这个字段同C2S_People_Walk中的reserve2")
|
||||
public String reserve2;
|
||||
}
|
||||
Reference in New Issue
Block a user