26 lines
851 B
Go
26 lines
851 B
Go
|
|
package org.nieo.seerproject.common.net.info.battle;
|
||
|
|
|
||
|
|
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.serialize.ArraySerialize;
|
||
|
|
import org.nieo.seerproject.common.annotations.serialize.UInt;
|
||
|
|
import org.nieo.seerproject.common.net.serialize.ArraySerializeType;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
@Builder
|
||
|
|
@NoArgsConstructor
|
||
|
|
@AllArgsConstructor
|
||
|
|
public class FightOverInfo {
|
||
|
|
@FieldDescription("固定值0")
|
||
|
|
private @UInt long reason;
|
||
|
|
@FieldDescription("胜者的米米号 野怪为0")
|
||
|
|
private @UInt long winnerId;
|
||
|
|
@FieldDescription("20个字节 保留字段 填0")
|
||
|
|
@ArraySerialize(value = ArraySerializeType.FIXED_LENGTH, fixedLength = 20)
|
||
|
|
@Builder.Default
|
||
|
|
private byte [] reserved = new byte[20];
|
||
|
|
}
|