26 lines
995 B
Go
26 lines
995 B
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;
|
||
|
|
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@AutoCodec
|
||
|
|
@OutboundMessageType(MessageCommandIDRegistry.Change_Nick_Name)
|
||
|
|
public class ChangePlayerNameOutboundInfo implements OutboundMessage {
|
||
|
|
@FieldDescription("米米号")
|
||
|
|
private @UInt long userId;
|
||
|
|
@FieldDescription("修改的玩家名字")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 16)
|
||
|
|
private String changeName;
|
||
|
|
}
|