Files
bl/common/core/info/user/SimUserInfoOutboundInfo.java

58 lines
2.3 KiB
Go
Raw Normal View History

package org.nieo.seerproject.common.net.info.user;
import lombok.Builder;
import lombok.Data;
import org.nieo.seerproject.common.annotations.FieldDescription;
import org.nieo.seerproject.common.annotations.OutboundMessageType;
import org.nieo.seerproject.common.annotations.serialize.ArraySerialize;
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.net.info.item.PeopleItemInfo;
import org.nieo.seerproject.common.net.serialize.ArraySerializeType;
import java.util.ArrayList;
import java.util.List;
@Builder
@Data
@AutoCodec
@OutboundMessageType(MessageCommandIDRegistry.Get_Sim_UserInfo)
public class SimUserInfoOutboundInfo implements OutboundMessage {
@FieldDescription("米米号")
private @UInt long userid;
@FieldDescription("昵称 16字节")
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 16)
private String nick;
@FieldDescription("rgb颜色")
private @UInt long color;
@FieldDescription("纹理 0")
private @UInt long texture;
@FieldDescription("默认值 1 位置")
private @UInt long vip;
@FieldDescription("默认值0 未知")
private @UInt long status;
@FieldDescription("地图类型 进入地图包传入的字段")
private @UInt long mapType;
@FieldDescription("地图id")
private @UInt long mapID;
@FieldDescription("能不能做教官")
private @UInt long isCanBeTeacher;
@FieldDescription("教官id")
private @UInt long teacherID;
@FieldDescription("学生id")
private @UInt long studentID;
@FieldDescription("教官成绩")
private @UInt long graduationCount;
@FieldDescription("vip等级 8")
private @UInt long vipLevel;
@FieldDescription("战队id")
private @UInt long teamId;
@FieldDescription("有没有跟随的精灵")
private @UInt long isShow;
@FieldDescription("穿戴装备")
@Builder.Default
private List<PeopleItemInfo> clothes = new ArrayList<>();
}