45 lines
1.8 KiB
Go
45 lines
1.8 KiB
Go
|
|
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.serialize.ArraySerializeType;
|
||
|
|
|
||
|
|
@Builder
|
||
|
|
@Data
|
||
|
|
@AutoCodec
|
||
|
|
@OutboundMessageType(MessageCommandIDRegistry.Get_More_UserInfo)
|
||
|
|
public class MoreUserInfoOutboundInfo implements OutboundMessage {
|
||
|
|
@FieldDescription("米米号")
|
||
|
|
private @UInt long userID;
|
||
|
|
@FieldDescription("昵称 补齐16字节")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 16)
|
||
|
|
private String nick;
|
||
|
|
@FieldDescription("注册时间 时间戳 按秒")
|
||
|
|
private @UInt long registerTime;
|
||
|
|
@FieldDescription("所有精灵数量")
|
||
|
|
private @UInt long petAllNum;
|
||
|
|
@FieldDescription("精灵最大等级")
|
||
|
|
private @UInt long petMaxLev;
|
||
|
|
@FieldDescription("spt boos成就 20字节 以任务状态完成 3为击败该boss, 目前spt只有12个, 剩下的长度以3填充")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 20)
|
||
|
|
@Builder.Default
|
||
|
|
private byte[] bossAchievement = new byte[20];
|
||
|
|
@FieldDescription("教官成绩")
|
||
|
|
private @UInt long graduationCount;
|
||
|
|
@FieldDescription("精灵王胜场")
|
||
|
|
private @UInt long monKingWin;
|
||
|
|
@FieldDescription("大乱斗胜场")
|
||
|
|
private @UInt long messWin;
|
||
|
|
@FieldDescription("勇者之塔层数")
|
||
|
|
private @UInt long maxStage;
|
||
|
|
@FieldDescription("星际擂台胜场")
|
||
|
|
private @UInt long maxArenaWins;
|
||
|
|
}
|