30 lines
1.0 KiB
Go
30 lines
1.0 KiB
Go
|
|
package org.nieo.seerproject.common.net.info.misc;
|
||
|
|
|
||
|
|
import lombok.AllArgsConstructor;
|
||
|
|
import lombok.Builder;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
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
|
||
|
|
@Builder
|
||
|
|
@AutoCodec
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
@InboundMessageType(MessageCommandIDRegistry.Aimat)
|
||
|
|
public class AimatInboundInfo implements InboundMessage {
|
||
|
|
@FieldDescription("物品id 射击激光 物品id为0")
|
||
|
|
private @UInt long itemId;
|
||
|
|
@FieldDescription("射击类型 未知 给0")
|
||
|
|
private @UInt long shootType;
|
||
|
|
@FieldDescription("射击的坐标 x y")
|
||
|
|
@Builder.Default
|
||
|
|
private Point point = new Point();
|
||
|
|
}
|