53 lines
2.1 KiB
Go
53 lines
2.1 KiB
Go
|
|
package org.nieo.seerproject.common.net.info.nono;
|
||
|
|
|
||
|
|
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.annotations.serialize.UShort;
|
||
|
|
import org.nieo.seerproject.common.net.MessageCommandIDRegistry;
|
||
|
|
import org.nieo.seerproject.common.net.OutboundMessage;
|
||
|
|
import org.nieo.seerproject.common.net.serialize.ArraySerializeType;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@AutoCodec
|
||
|
|
@OutboundMessageType(MessageCommandIDRegistry.Nono_Info)
|
||
|
|
public class NonoOutboundInfo implements OutboundMessage {
|
||
|
|
@FieldDescription("米米号")
|
||
|
|
private @UInt long userID;
|
||
|
|
@FieldDescription("未知")
|
||
|
|
private @UInt long num;
|
||
|
|
@FieldDescription("未知")
|
||
|
|
private @UInt long state;
|
||
|
|
@FieldDescription("16字节")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 16)
|
||
|
|
private String nick;
|
||
|
|
@FieldDescription("是不是超能nono")
|
||
|
|
private @UInt long superNono;
|
||
|
|
@FieldDescription("nono颜色 00 rgb")
|
||
|
|
private @UInt long color;
|
||
|
|
@FieldDescription("未知, 返回的实际数值要*1000")
|
||
|
|
private @UInt long power;
|
||
|
|
@FieldDescription("未知, 返回的实际数值要*1000")
|
||
|
|
private @UInt long mate;
|
||
|
|
@FieldDescription("未知")
|
||
|
|
private @UInt long iq;
|
||
|
|
@FieldDescription("未知")
|
||
|
|
private @UShort int ai;
|
||
|
|
@FieldDescription("未知, 返回的实际数值要除以1000")
|
||
|
|
private @UInt long birth;
|
||
|
|
@FieldDescription("充电时间")
|
||
|
|
private @UInt long chargeTime;
|
||
|
|
@FieldDescription("20字节")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 20)
|
||
|
|
private byte[] func = new byte[20];
|
||
|
|
@FieldDescription("超能nono能力")
|
||
|
|
private @UInt long superEnergy;
|
||
|
|
@FieldDescription("超能nono等级")
|
||
|
|
private @UInt long superLevel;
|
||
|
|
@FieldDescription("超能nono阶段")
|
||
|
|
private @UInt long superStage;
|
||
|
|
}
|