25 lines
931 B
Go
25 lines
931 B
Go
|
|
package org.nieo.seerproject.common.net.info.map;
|
||
|
|
|
||
|
|
import lombok.Data;
|
||
|
|
import org.nieo.seerproject.common.annotations.FieldDescription;
|
||
|
|
import org.nieo.seerproject.common.annotations.InboundMessageType;
|
||
|
|
import org.nieo.seerproject.common.annotations.MessageName;
|
||
|
|
import org.nieo.seerproject.common.annotations.serialize.AutoCodec;
|
||
|
|
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
||
|
|
import org.nieo.seerproject.common.net.InboundMessage;
|
||
|
|
import org.nieo.seerproject.common.net.MessageCommandIDRegistry;
|
||
|
|
import org.nieo.seerproject.common.structs.Point;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@AutoCodec
|
||
|
|
@InboundMessageType(MessageCommandIDRegistry.Enter_Map)
|
||
|
|
@MessageName("EnterMapInboundInfo")
|
||
|
|
public class MapInfo implements InboundMessage {
|
||
|
|
@FieldDescription("地图类型")
|
||
|
|
private @UInt long mapType;
|
||
|
|
@FieldDescription("地图ID")
|
||
|
|
private @UInt long mapId;
|
||
|
|
@FieldDescription("8字节, 人物地图坐标")
|
||
|
|
private Point pos = new Point();
|
||
|
|
}
|