26 lines
907 B
Go
26 lines
907 B
Go
|
|
package org.nieo.seerproject.common.net.info.login;
|
||
|
|
|
||
|
|
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 java.util.List;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@AutoCodec
|
||
|
|
@FieldDescription("初始连接请求信息")
|
||
|
|
@OutboundMessageType(MessageCommandIDRegistry.Commend_OnLine)
|
||
|
|
public class CommendSvrInfo implements OutboundMessage {
|
||
|
|
@FieldDescription("最大连接数")
|
||
|
|
private @UInt long maxOnlineID;
|
||
|
|
@FieldDescription("建议为0")
|
||
|
|
private @UInt long isVip;
|
||
|
|
@FieldDescription("服务器具体信息")
|
||
|
|
private List<ServerInfo> serverList;
|
||
|
|
private int reversed;
|
||
|
|
}
|