23 lines
868 B
Go
23 lines
868 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.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.People_Walk)
|
|||
|
|
public class PeopleWalkInboundInfo implements InboundMessage {
|
|||
|
|
@FieldDescription("0为走,1为飞行模式")
|
|||
|
|
private @UInt long flag;
|
|||
|
|
@FieldDescription("直接给坐标x,y")
|
|||
|
|
private Point point = new Point();
|
|||
|
|
@FieldDescription("暂定 占位字符2")
|
|||
|
|
private String reverse2;
|
|||
|
|
}
|