mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-23 14:22:14 +08:00
71f6198361
* Remove hardcoded quest data * Remove deprecated fields * Try to fix packet * Apply fix for token exchange * Upgrade to REL3.7 * Add obfuscated protocol definitions * Add missing enum (other protos too maybe) * Re-add field setters and add note on removal
2333 lines
76 KiB
Java
2333 lines
76 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: BreakoutAction.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class BreakoutActionOuterClass {
|
|
private BreakoutActionOuterClass() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface BreakoutActionOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:BreakoutAction)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The enum numeric value on the wire for actionType.
|
|
*/
|
|
int getActionTypeValue();
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The actionType.
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType getActionType();
|
|
|
|
/**
|
|
* <code>uint64 client_game_time = 2;</code>
|
|
* @return The clientGameTime.
|
|
*/
|
|
long getClientGameTime();
|
|
|
|
/**
|
|
* <code>uint64 server_game_time = 3;</code>
|
|
* @return The serverGameTime.
|
|
*/
|
|
long getServerGameTime();
|
|
|
|
/**
|
|
* <code>bool is_failed = 4;</code>
|
|
* @return The isFailed.
|
|
*/
|
|
boolean getIsFailed();
|
|
|
|
/**
|
|
* <code>uint32 pre_index = 5;</code>
|
|
* @return The preIndex.
|
|
*/
|
|
int getPreIndex();
|
|
|
|
/**
|
|
* <code>uint32 new_index = 6;</code>
|
|
* @return The newIndex.
|
|
*/
|
|
int getNewIndex();
|
|
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
boolean hasPos();
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return The pos.
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos();
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder();
|
|
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return Whether the moveDir field is set.
|
|
*/
|
|
boolean hasMoveDir();
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return The moveDir.
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir();
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder();
|
|
|
|
/**
|
|
* <code>int32 speed = 9;</code>
|
|
* @return The speed.
|
|
*/
|
|
int getSpeed();
|
|
|
|
/**
|
|
* <code>uint32 peer_id = 10;</code>
|
|
* @return The peerId.
|
|
*/
|
|
int getPeerId();
|
|
|
|
/**
|
|
* <code>uint32 element_type = 11;</code>
|
|
* @return The elementType.
|
|
*/
|
|
int getElementType();
|
|
|
|
/**
|
|
* <code>uint32 element_reaction_buff = 12;</code>
|
|
* @return The elementReactionBuff.
|
|
*/
|
|
int getElementReactionBuff();
|
|
|
|
/**
|
|
* <code>uint32 speed_increase_count = 13;</code>
|
|
* @return The speedIncreaseCount.
|
|
*/
|
|
int getSpeedIncreaseCount();
|
|
|
|
/**
|
|
* <code>bool has_extra_ball = 14;</code>
|
|
* @return The hasExtraBall.
|
|
*/
|
|
boolean getHasExtraBall();
|
|
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return Whether the extraBallDir field is set.
|
|
*/
|
|
boolean hasExtraBallDir();
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return The extraBallDir.
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getExtraBallDir();
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getExtraBallDirOrBuilder();
|
|
|
|
/**
|
|
* <code>uint32 extra_ball_index = 16;</code>
|
|
* @return The extraBallIndex.
|
|
*/
|
|
int getExtraBallIndex();
|
|
|
|
/**
|
|
* <code>int32 offset = 17;</code>
|
|
* @return The offset.
|
|
*/
|
|
int getOffset();
|
|
|
|
/**
|
|
* <code>uint64 HPPJKHIDMIF = 18;</code>
|
|
* @return The hPPJKHIDMIF.
|
|
*/
|
|
long getHPPJKHIDMIF();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: LAPCONCKKIG
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code BreakoutAction}
|
|
*/
|
|
public static final class BreakoutAction extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:BreakoutAction)
|
|
BreakoutActionOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use BreakoutAction.newBuilder() to construct.
|
|
private BreakoutAction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private BreakoutAction() {
|
|
actionType_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new BreakoutAction();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private BreakoutAction(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 8: {
|
|
int rawValue = input.readEnum();
|
|
|
|
actionType_ = rawValue;
|
|
break;
|
|
}
|
|
case 16: {
|
|
|
|
clientGameTime_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 24: {
|
|
|
|
serverGameTime_ = input.readUInt64();
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
isFailed_ = input.readBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
|
|
preIndex_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
|
|
newIndex_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 58: {
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder subBuilder = null;
|
|
if (pos_ != null) {
|
|
subBuilder = pos_.toBuilder();
|
|
}
|
|
pos_ = input.readMessage(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(pos_);
|
|
pos_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 66: {
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder subBuilder = null;
|
|
if (moveDir_ != null) {
|
|
subBuilder = moveDir_.toBuilder();
|
|
}
|
|
moveDir_ = input.readMessage(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(moveDir_);
|
|
moveDir_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 72: {
|
|
|
|
speed_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 80: {
|
|
|
|
peerId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
elementType_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 96: {
|
|
|
|
elementReactionBuff_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 104: {
|
|
|
|
speedIncreaseCount_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
hasExtraBall_ = input.readBool();
|
|
break;
|
|
}
|
|
case 122: {
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder subBuilder = null;
|
|
if (extraBallDir_ != null) {
|
|
subBuilder = extraBallDir_.toBuilder();
|
|
}
|
|
extraBallDir_ = input.readMessage(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(extraBallDir_);
|
|
extraBallDir_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 128: {
|
|
|
|
extraBallIndex_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 136: {
|
|
|
|
offset_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 144: {
|
|
|
|
hPPJKHIDMIF_ = input.readUInt64();
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.internal_static_BreakoutAction_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.internal_static_BreakoutAction_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.class, emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.Builder.class);
|
|
}
|
|
|
|
/**
|
|
* <pre>
|
|
* Obf: LBKMLLJIKHB
|
|
* </pre>
|
|
*
|
|
* Protobuf enum {@code BreakoutAction.BreakoutActionType}
|
|
*/
|
|
public enum BreakoutActionType
|
|
implements com.google.protobuf.ProtocolMessageEnum {
|
|
/**
|
|
* <code>ACTION_TYPE_NONE = 0;</code>
|
|
*/
|
|
ACTION_TYPE_NONE(0),
|
|
/**
|
|
* <code>ACTION_TYPE_LAUNCH_BALL = 1;</code>
|
|
*/
|
|
ACTION_TYPE_LAUNCH_BALL(1),
|
|
/**
|
|
* <code>ACTION_TYPE_DESTROY_BALL = 2;</code>
|
|
*/
|
|
ACTION_TYPE_DESTROY_BALL(2),
|
|
/**
|
|
* <code>ACTION_TYPE_FALLING_OBJECT = 3;</code>
|
|
*/
|
|
ACTION_TYPE_FALLING_OBJECT(3),
|
|
/**
|
|
* <code>ACTION_TYPE_MISSILE = 4;</code>
|
|
*/
|
|
ACTION_TYPE_MISSILE(4),
|
|
UNRECOGNIZED(-1),
|
|
;
|
|
|
|
/**
|
|
* <code>ACTION_TYPE_NONE = 0;</code>
|
|
*/
|
|
public static final int ACTION_TYPE_NONE_VALUE = 0;
|
|
/**
|
|
* <code>ACTION_TYPE_LAUNCH_BALL = 1;</code>
|
|
*/
|
|
public static final int ACTION_TYPE_LAUNCH_BALL_VALUE = 1;
|
|
/**
|
|
* <code>ACTION_TYPE_DESTROY_BALL = 2;</code>
|
|
*/
|
|
public static final int ACTION_TYPE_DESTROY_BALL_VALUE = 2;
|
|
/**
|
|
* <code>ACTION_TYPE_FALLING_OBJECT = 3;</code>
|
|
*/
|
|
public static final int ACTION_TYPE_FALLING_OBJECT_VALUE = 3;
|
|
/**
|
|
* <code>ACTION_TYPE_MISSILE = 4;</code>
|
|
*/
|
|
public static final int ACTION_TYPE_MISSILE_VALUE = 4;
|
|
|
|
|
|
public final int getNumber() {
|
|
if (this == UNRECOGNIZED) {
|
|
throw new java.lang.IllegalArgumentException(
|
|
"Can't get the number of an unknown enum value.");
|
|
}
|
|
return value;
|
|
}
|
|
|
|
/**
|
|
* @param value The numeric wire value of the corresponding enum entry.
|
|
* @return The enum associated with the given numeric wire value.
|
|
* @deprecated Use {@link #forNumber(int)} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public static BreakoutActionType valueOf(int value) {
|
|
return forNumber(value);
|
|
}
|
|
|
|
/**
|
|
* @param value The numeric wire value of the corresponding enum entry.
|
|
* @return The enum associated with the given numeric wire value.
|
|
*/
|
|
public static BreakoutActionType forNumber(int value) {
|
|
switch (value) {
|
|
case 0: return ACTION_TYPE_NONE;
|
|
case 1: return ACTION_TYPE_LAUNCH_BALL;
|
|
case 2: return ACTION_TYPE_DESTROY_BALL;
|
|
case 3: return ACTION_TYPE_FALLING_OBJECT;
|
|
case 4: return ACTION_TYPE_MISSILE;
|
|
default: return null;
|
|
}
|
|
}
|
|
|
|
public static com.google.protobuf.Internal.EnumLiteMap<BreakoutActionType>
|
|
internalGetValueMap() {
|
|
return internalValueMap;
|
|
}
|
|
private static final com.google.protobuf.Internal.EnumLiteMap<
|
|
BreakoutActionType> internalValueMap =
|
|
new com.google.protobuf.Internal.EnumLiteMap<BreakoutActionType>() {
|
|
public BreakoutActionType findValueByNumber(int number) {
|
|
return BreakoutActionType.forNumber(number);
|
|
}
|
|
};
|
|
|
|
public final com.google.protobuf.Descriptors.EnumValueDescriptor
|
|
getValueDescriptor() {
|
|
if (this == UNRECOGNIZED) {
|
|
throw new java.lang.IllegalStateException(
|
|
"Can't get the descriptor of an unrecognized enum value.");
|
|
}
|
|
return getDescriptor().getValues().get(ordinal());
|
|
}
|
|
public final com.google.protobuf.Descriptors.EnumDescriptor
|
|
getDescriptorForType() {
|
|
return getDescriptor();
|
|
}
|
|
public static final com.google.protobuf.Descriptors.EnumDescriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.getDescriptor().getEnumTypes().get(0);
|
|
}
|
|
|
|
private static final BreakoutActionType[] VALUES = values();
|
|
|
|
public static BreakoutActionType valueOf(
|
|
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
|
|
if (desc.getType() != getDescriptor()) {
|
|
throw new java.lang.IllegalArgumentException(
|
|
"EnumValueDescriptor is not for this type.");
|
|
}
|
|
if (desc.getIndex() == -1) {
|
|
return UNRECOGNIZED;
|
|
}
|
|
return VALUES[desc.getIndex()];
|
|
}
|
|
|
|
private final int value;
|
|
|
|
private BreakoutActionType(int value) {
|
|
this.value = value;
|
|
}
|
|
|
|
// @@protoc_insertion_point(enum_scope:BreakoutAction.BreakoutActionType)
|
|
}
|
|
|
|
public static final int ACTION_TYPE_FIELD_NUMBER = 1;
|
|
private int actionType_;
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The enum numeric value on the wire for actionType.
|
|
*/
|
|
@java.lang.Override public int getActionTypeValue() {
|
|
return actionType_;
|
|
}
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The actionType.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType getActionType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType result = emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.valueOf(actionType_);
|
|
return result == null ? emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int CLIENT_GAME_TIME_FIELD_NUMBER = 2;
|
|
private long clientGameTime_;
|
|
/**
|
|
* <code>uint64 client_game_time = 2;</code>
|
|
* @return The clientGameTime.
|
|
*/
|
|
@java.lang.Override
|
|
public long getClientGameTime() {
|
|
return clientGameTime_;
|
|
}
|
|
|
|
public static final int SERVER_GAME_TIME_FIELD_NUMBER = 3;
|
|
private long serverGameTime_;
|
|
/**
|
|
* <code>uint64 server_game_time = 3;</code>
|
|
* @return The serverGameTime.
|
|
*/
|
|
@java.lang.Override
|
|
public long getServerGameTime() {
|
|
return serverGameTime_;
|
|
}
|
|
|
|
public static final int IS_FAILED_FIELD_NUMBER = 4;
|
|
private boolean isFailed_;
|
|
/**
|
|
* <code>bool is_failed = 4;</code>
|
|
* @return The isFailed.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFailed() {
|
|
return isFailed_;
|
|
}
|
|
|
|
public static final int PRE_INDEX_FIELD_NUMBER = 5;
|
|
private int preIndex_;
|
|
/**
|
|
* <code>uint32 pre_index = 5;</code>
|
|
* @return The preIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPreIndex() {
|
|
return preIndex_;
|
|
}
|
|
|
|
public static final int NEW_INDEX_FIELD_NUMBER = 6;
|
|
private int newIndex_;
|
|
/**
|
|
* <code>uint32 new_index = 6;</code>
|
|
* @return The newIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNewIndex() {
|
|
return newIndex_;
|
|
}
|
|
|
|
public static final int POS_FIELD_NUMBER = 7;
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 pos_;
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasPos() {
|
|
return pos_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return The pos.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos() {
|
|
return pos_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder() {
|
|
return getPos();
|
|
}
|
|
|
|
public static final int MOVE_DIR_FIELD_NUMBER = 8;
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 moveDir_;
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return Whether the moveDir field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasMoveDir() {
|
|
return moveDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return The moveDir.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir() {
|
|
return moveDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder() {
|
|
return getMoveDir();
|
|
}
|
|
|
|
public static final int SPEED_FIELD_NUMBER = 9;
|
|
private int speed_;
|
|
/**
|
|
* <code>int32 speed = 9;</code>
|
|
* @return The speed.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSpeed() {
|
|
return speed_;
|
|
}
|
|
|
|
public static final int PEER_ID_FIELD_NUMBER = 10;
|
|
private int peerId_;
|
|
/**
|
|
* <code>uint32 peer_id = 10;</code>
|
|
* @return The peerId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPeerId() {
|
|
return peerId_;
|
|
}
|
|
|
|
public static final int ELEMENT_TYPE_FIELD_NUMBER = 11;
|
|
private int elementType_;
|
|
/**
|
|
* <code>uint32 element_type = 11;</code>
|
|
* @return The elementType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getElementType() {
|
|
return elementType_;
|
|
}
|
|
|
|
public static final int ELEMENT_REACTION_BUFF_FIELD_NUMBER = 12;
|
|
private int elementReactionBuff_;
|
|
/**
|
|
* <code>uint32 element_reaction_buff = 12;</code>
|
|
* @return The elementReactionBuff.
|
|
*/
|
|
@java.lang.Override
|
|
public int getElementReactionBuff() {
|
|
return elementReactionBuff_;
|
|
}
|
|
|
|
public static final int SPEED_INCREASE_COUNT_FIELD_NUMBER = 13;
|
|
private int speedIncreaseCount_;
|
|
/**
|
|
* <code>uint32 speed_increase_count = 13;</code>
|
|
* @return The speedIncreaseCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSpeedIncreaseCount() {
|
|
return speedIncreaseCount_;
|
|
}
|
|
|
|
public static final int HAS_EXTRA_BALL_FIELD_NUMBER = 14;
|
|
private boolean hasExtraBall_;
|
|
/**
|
|
* <code>bool has_extra_ball = 14;</code>
|
|
* @return The hasExtraBall.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getHasExtraBall() {
|
|
return hasExtraBall_;
|
|
}
|
|
|
|
public static final int EXTRA_BALL_DIR_FIELD_NUMBER = 15;
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 extraBallDir_;
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return Whether the extraBallDir field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasExtraBallDir() {
|
|
return extraBallDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return The extraBallDir.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getExtraBallDir() {
|
|
return extraBallDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : extraBallDir_;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getExtraBallDirOrBuilder() {
|
|
return getExtraBallDir();
|
|
}
|
|
|
|
public static final int EXTRA_BALL_INDEX_FIELD_NUMBER = 16;
|
|
private int extraBallIndex_;
|
|
/**
|
|
* <code>uint32 extra_ball_index = 16;</code>
|
|
* @return The extraBallIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getExtraBallIndex() {
|
|
return extraBallIndex_;
|
|
}
|
|
|
|
public static final int OFFSET_FIELD_NUMBER = 17;
|
|
private int offset_;
|
|
/**
|
|
* <code>int32 offset = 17;</code>
|
|
* @return The offset.
|
|
*/
|
|
@java.lang.Override
|
|
public int getOffset() {
|
|
return offset_;
|
|
}
|
|
|
|
public static final int HPPJKHIDMIF_FIELD_NUMBER = 18;
|
|
private long hPPJKHIDMIF_;
|
|
/**
|
|
* <code>uint64 HPPJKHIDMIF = 18;</code>
|
|
* @return The hPPJKHIDMIF.
|
|
*/
|
|
@java.lang.Override
|
|
public long getHPPJKHIDMIF() {
|
|
return hPPJKHIDMIF_;
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
if (actionType_ != emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.ACTION_TYPE_NONE.getNumber()) {
|
|
output.writeEnum(1, actionType_);
|
|
}
|
|
if (clientGameTime_ != 0L) {
|
|
output.writeUInt64(2, clientGameTime_);
|
|
}
|
|
if (serverGameTime_ != 0L) {
|
|
output.writeUInt64(3, serverGameTime_);
|
|
}
|
|
if (isFailed_ != false) {
|
|
output.writeBool(4, isFailed_);
|
|
}
|
|
if (preIndex_ != 0) {
|
|
output.writeUInt32(5, preIndex_);
|
|
}
|
|
if (newIndex_ != 0) {
|
|
output.writeUInt32(6, newIndex_);
|
|
}
|
|
if (pos_ != null) {
|
|
output.writeMessage(7, getPos());
|
|
}
|
|
if (moveDir_ != null) {
|
|
output.writeMessage(8, getMoveDir());
|
|
}
|
|
if (speed_ != 0) {
|
|
output.writeInt32(9, speed_);
|
|
}
|
|
if (peerId_ != 0) {
|
|
output.writeUInt32(10, peerId_);
|
|
}
|
|
if (elementType_ != 0) {
|
|
output.writeUInt32(11, elementType_);
|
|
}
|
|
if (elementReactionBuff_ != 0) {
|
|
output.writeUInt32(12, elementReactionBuff_);
|
|
}
|
|
if (speedIncreaseCount_ != 0) {
|
|
output.writeUInt32(13, speedIncreaseCount_);
|
|
}
|
|
if (hasExtraBall_ != false) {
|
|
output.writeBool(14, hasExtraBall_);
|
|
}
|
|
if (extraBallDir_ != null) {
|
|
output.writeMessage(15, getExtraBallDir());
|
|
}
|
|
if (extraBallIndex_ != 0) {
|
|
output.writeUInt32(16, extraBallIndex_);
|
|
}
|
|
if (offset_ != 0) {
|
|
output.writeInt32(17, offset_);
|
|
}
|
|
if (hPPJKHIDMIF_ != 0L) {
|
|
output.writeUInt64(18, hPPJKHIDMIF_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (actionType_ != emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.ACTION_TYPE_NONE.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(1, actionType_);
|
|
}
|
|
if (clientGameTime_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(2, clientGameTime_);
|
|
}
|
|
if (serverGameTime_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(3, serverGameTime_);
|
|
}
|
|
if (isFailed_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(4, isFailed_);
|
|
}
|
|
if (preIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(5, preIndex_);
|
|
}
|
|
if (newIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(6, newIndex_);
|
|
}
|
|
if (pos_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(7, getPos());
|
|
}
|
|
if (moveDir_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(8, getMoveDir());
|
|
}
|
|
if (speed_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(9, speed_);
|
|
}
|
|
if (peerId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(10, peerId_);
|
|
}
|
|
if (elementType_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(11, elementType_);
|
|
}
|
|
if (elementReactionBuff_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(12, elementReactionBuff_);
|
|
}
|
|
if (speedIncreaseCount_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(13, speedIncreaseCount_);
|
|
}
|
|
if (hasExtraBall_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(14, hasExtraBall_);
|
|
}
|
|
if (extraBallDir_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(15, getExtraBallDir());
|
|
}
|
|
if (extraBallIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(16, extraBallIndex_);
|
|
}
|
|
if (offset_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(17, offset_);
|
|
}
|
|
if (hPPJKHIDMIF_ != 0L) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt64Size(18, hPPJKHIDMIF_);
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction other = (emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction) obj;
|
|
|
|
if (actionType_ != other.actionType_) return false;
|
|
if (getClientGameTime()
|
|
!= other.getClientGameTime()) return false;
|
|
if (getServerGameTime()
|
|
!= other.getServerGameTime()) return false;
|
|
if (getIsFailed()
|
|
!= other.getIsFailed()) return false;
|
|
if (getPreIndex()
|
|
!= other.getPreIndex()) return false;
|
|
if (getNewIndex()
|
|
!= other.getNewIndex()) return false;
|
|
if (hasPos() != other.hasPos()) return false;
|
|
if (hasPos()) {
|
|
if (!getPos()
|
|
.equals(other.getPos())) return false;
|
|
}
|
|
if (hasMoveDir() != other.hasMoveDir()) return false;
|
|
if (hasMoveDir()) {
|
|
if (!getMoveDir()
|
|
.equals(other.getMoveDir())) return false;
|
|
}
|
|
if (getSpeed()
|
|
!= other.getSpeed()) return false;
|
|
if (getPeerId()
|
|
!= other.getPeerId()) return false;
|
|
if (getElementType()
|
|
!= other.getElementType()) return false;
|
|
if (getElementReactionBuff()
|
|
!= other.getElementReactionBuff()) return false;
|
|
if (getSpeedIncreaseCount()
|
|
!= other.getSpeedIncreaseCount()) return false;
|
|
if (getHasExtraBall()
|
|
!= other.getHasExtraBall()) return false;
|
|
if (hasExtraBallDir() != other.hasExtraBallDir()) return false;
|
|
if (hasExtraBallDir()) {
|
|
if (!getExtraBallDir()
|
|
.equals(other.getExtraBallDir())) return false;
|
|
}
|
|
if (getExtraBallIndex()
|
|
!= other.getExtraBallIndex()) return false;
|
|
if (getOffset()
|
|
!= other.getOffset()) return false;
|
|
if (getHPPJKHIDMIF()
|
|
!= other.getHPPJKHIDMIF()) return false;
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + ACTION_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + actionType_;
|
|
hash = (37 * hash) + CLIENT_GAME_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getClientGameTime());
|
|
hash = (37 * hash) + SERVER_GAME_TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getServerGameTime());
|
|
hash = (37 * hash) + IS_FAILED_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsFailed());
|
|
hash = (37 * hash) + PRE_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPreIndex();
|
|
hash = (37 * hash) + NEW_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getNewIndex();
|
|
if (hasPos()) {
|
|
hash = (37 * hash) + POS_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPos().hashCode();
|
|
}
|
|
if (hasMoveDir()) {
|
|
hash = (37 * hash) + MOVE_DIR_FIELD_NUMBER;
|
|
hash = (53 * hash) + getMoveDir().hashCode();
|
|
}
|
|
hash = (37 * hash) + SPEED_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSpeed();
|
|
hash = (37 * hash) + PEER_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPeerId();
|
|
hash = (37 * hash) + ELEMENT_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getElementType();
|
|
hash = (37 * hash) + ELEMENT_REACTION_BUFF_FIELD_NUMBER;
|
|
hash = (53 * hash) + getElementReactionBuff();
|
|
hash = (37 * hash) + SPEED_INCREASE_COUNT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getSpeedIncreaseCount();
|
|
hash = (37 * hash) + HAS_EXTRA_BALL_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getHasExtraBall());
|
|
if (hasExtraBallDir()) {
|
|
hash = (37 * hash) + EXTRA_BALL_DIR_FIELD_NUMBER;
|
|
hash = (53 * hash) + getExtraBallDir().hashCode();
|
|
}
|
|
hash = (37 * hash) + EXTRA_BALL_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getExtraBallIndex();
|
|
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
|
|
hash = (53 * hash) + getOffset();
|
|
hash = (37 * hash) + HPPJKHIDMIF_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
|
getHPPJKHIDMIF());
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Obf: LAPCONCKKIG
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code BreakoutAction}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:BreakoutAction)
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutActionOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.internal_static_BreakoutAction_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.internal_static_BreakoutAction_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.class, emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
actionType_ = 0;
|
|
|
|
clientGameTime_ = 0L;
|
|
|
|
serverGameTime_ = 0L;
|
|
|
|
isFailed_ = false;
|
|
|
|
preIndex_ = 0;
|
|
|
|
newIndex_ = 0;
|
|
|
|
if (posBuilder_ == null) {
|
|
pos_ = null;
|
|
} else {
|
|
pos_ = null;
|
|
posBuilder_ = null;
|
|
}
|
|
if (moveDirBuilder_ == null) {
|
|
moveDir_ = null;
|
|
} else {
|
|
moveDir_ = null;
|
|
moveDirBuilder_ = null;
|
|
}
|
|
speed_ = 0;
|
|
|
|
peerId_ = 0;
|
|
|
|
elementType_ = 0;
|
|
|
|
elementReactionBuff_ = 0;
|
|
|
|
speedIncreaseCount_ = 0;
|
|
|
|
hasExtraBall_ = false;
|
|
|
|
if (extraBallDirBuilder_ == null) {
|
|
extraBallDir_ = null;
|
|
} else {
|
|
extraBallDir_ = null;
|
|
extraBallDirBuilder_ = null;
|
|
}
|
|
extraBallIndex_ = 0;
|
|
|
|
offset_ = 0;
|
|
|
|
hPPJKHIDMIF_ = 0L;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.internal_static_BreakoutAction_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction build() {
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction buildPartial() {
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction result = new emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction(this);
|
|
result.actionType_ = actionType_;
|
|
result.clientGameTime_ = clientGameTime_;
|
|
result.serverGameTime_ = serverGameTime_;
|
|
result.isFailed_ = isFailed_;
|
|
result.preIndex_ = preIndex_;
|
|
result.newIndex_ = newIndex_;
|
|
if (posBuilder_ == null) {
|
|
result.pos_ = pos_;
|
|
} else {
|
|
result.pos_ = posBuilder_.build();
|
|
}
|
|
if (moveDirBuilder_ == null) {
|
|
result.moveDir_ = moveDir_;
|
|
} else {
|
|
result.moveDir_ = moveDirBuilder_.build();
|
|
}
|
|
result.speed_ = speed_;
|
|
result.peerId_ = peerId_;
|
|
result.elementType_ = elementType_;
|
|
result.elementReactionBuff_ = elementReactionBuff_;
|
|
result.speedIncreaseCount_ = speedIncreaseCount_;
|
|
result.hasExtraBall_ = hasExtraBall_;
|
|
if (extraBallDirBuilder_ == null) {
|
|
result.extraBallDir_ = extraBallDir_;
|
|
} else {
|
|
result.extraBallDir_ = extraBallDirBuilder_.build();
|
|
}
|
|
result.extraBallIndex_ = extraBallIndex_;
|
|
result.offset_ = offset_;
|
|
result.hPPJKHIDMIF_ = hPPJKHIDMIF_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction) {
|
|
return mergeFrom((emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction other) {
|
|
if (other == emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.getDefaultInstance()) return this;
|
|
if (other.actionType_ != 0) {
|
|
setActionTypeValue(other.getActionTypeValue());
|
|
}
|
|
if (other.getClientGameTime() != 0L) {
|
|
setClientGameTime(other.getClientGameTime());
|
|
}
|
|
if (other.getServerGameTime() != 0L) {
|
|
setServerGameTime(other.getServerGameTime());
|
|
}
|
|
if (other.getIsFailed() != false) {
|
|
setIsFailed(other.getIsFailed());
|
|
}
|
|
if (other.getPreIndex() != 0) {
|
|
setPreIndex(other.getPreIndex());
|
|
}
|
|
if (other.getNewIndex() != 0) {
|
|
setNewIndex(other.getNewIndex());
|
|
}
|
|
if (other.hasPos()) {
|
|
mergePos(other.getPos());
|
|
}
|
|
if (other.hasMoveDir()) {
|
|
mergeMoveDir(other.getMoveDir());
|
|
}
|
|
if (other.getSpeed() != 0) {
|
|
setSpeed(other.getSpeed());
|
|
}
|
|
if (other.getPeerId() != 0) {
|
|
setPeerId(other.getPeerId());
|
|
}
|
|
if (other.getElementType() != 0) {
|
|
setElementType(other.getElementType());
|
|
}
|
|
if (other.getElementReactionBuff() != 0) {
|
|
setElementReactionBuff(other.getElementReactionBuff());
|
|
}
|
|
if (other.getSpeedIncreaseCount() != 0) {
|
|
setSpeedIncreaseCount(other.getSpeedIncreaseCount());
|
|
}
|
|
if (other.getHasExtraBall() != false) {
|
|
setHasExtraBall(other.getHasExtraBall());
|
|
}
|
|
if (other.hasExtraBallDir()) {
|
|
mergeExtraBallDir(other.getExtraBallDir());
|
|
}
|
|
if (other.getExtraBallIndex() != 0) {
|
|
setExtraBallIndex(other.getExtraBallIndex());
|
|
}
|
|
if (other.getOffset() != 0) {
|
|
setOffset(other.getOffset());
|
|
}
|
|
if (other.getHPPJKHIDMIF() != 0L) {
|
|
setHPPJKHIDMIF(other.getHPPJKHIDMIF());
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private int actionType_ = 0;
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The enum numeric value on the wire for actionType.
|
|
*/
|
|
@java.lang.Override public int getActionTypeValue() {
|
|
return actionType_;
|
|
}
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @param value The enum numeric value on the wire for actionType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setActionTypeValue(int value) {
|
|
|
|
actionType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return The actionType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType getActionType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType result = emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.valueOf(actionType_);
|
|
return result == null ? emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @param value The actionType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setActionType(emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction.BreakoutActionType value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
actionType_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutAction.BreakoutActionType action_type = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearActionType() {
|
|
|
|
actionType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long clientGameTime_ ;
|
|
/**
|
|
* <code>uint64 client_game_time = 2;</code>
|
|
* @return The clientGameTime.
|
|
*/
|
|
@java.lang.Override
|
|
public long getClientGameTime() {
|
|
return clientGameTime_;
|
|
}
|
|
/**
|
|
* <code>uint64 client_game_time = 2;</code>
|
|
* @param value The clientGameTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setClientGameTime(long value) {
|
|
|
|
clientGameTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 client_game_time = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearClientGameTime() {
|
|
|
|
clientGameTime_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long serverGameTime_ ;
|
|
/**
|
|
* <code>uint64 server_game_time = 3;</code>
|
|
* @return The serverGameTime.
|
|
*/
|
|
@java.lang.Override
|
|
public long getServerGameTime() {
|
|
return serverGameTime_;
|
|
}
|
|
/**
|
|
* <code>uint64 server_game_time = 3;</code>
|
|
* @param value The serverGameTime to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setServerGameTime(long value) {
|
|
|
|
serverGameTime_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 server_game_time = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearServerGameTime() {
|
|
|
|
serverGameTime_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isFailed_ ;
|
|
/**
|
|
* <code>bool is_failed = 4;</code>
|
|
* @return The isFailed.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsFailed() {
|
|
return isFailed_;
|
|
}
|
|
/**
|
|
* <code>bool is_failed = 4;</code>
|
|
* @param value The isFailed to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsFailed(boolean value) {
|
|
|
|
isFailed_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_failed = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsFailed() {
|
|
|
|
isFailed_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int preIndex_ ;
|
|
/**
|
|
* <code>uint32 pre_index = 5;</code>
|
|
* @return The preIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPreIndex() {
|
|
return preIndex_;
|
|
}
|
|
/**
|
|
* <code>uint32 pre_index = 5;</code>
|
|
* @param value The preIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPreIndex(int value) {
|
|
|
|
preIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 pre_index = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPreIndex() {
|
|
|
|
preIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int newIndex_ ;
|
|
/**
|
|
* <code>uint32 new_index = 6;</code>
|
|
* @return The newIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getNewIndex() {
|
|
return newIndex_;
|
|
}
|
|
/**
|
|
* <code>uint32 new_index = 6;</code>
|
|
* @param value The newIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setNewIndex(int value) {
|
|
|
|
newIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 new_index = 6;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearNewIndex() {
|
|
|
|
newIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 pos_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder> posBuilder_;
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
public boolean hasPos() {
|
|
return posBuilder_ != null || pos_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
* @return The pos.
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getPos() {
|
|
if (posBuilder_ == null) {
|
|
return pos_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
|
|
} else {
|
|
return posBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public Builder setPos(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (posBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
pos_ = value;
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public Builder setPos(
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder builderForValue) {
|
|
if (posBuilder_ == null) {
|
|
pos_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public Builder mergePos(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (posBuilder_ == null) {
|
|
if (pos_ != null) {
|
|
pos_ =
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.newBuilder(pos_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
pos_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public Builder clearPos() {
|
|
if (posBuilder_ == null) {
|
|
pos_ = null;
|
|
onChanged();
|
|
} else {
|
|
pos_ = null;
|
|
posBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder getPosBuilder() {
|
|
|
|
onChanged();
|
|
return getPosFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getPosOrBuilder() {
|
|
if (posBuilder_ != null) {
|
|
return posBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return pos_ == null ?
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : pos_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 pos = 7;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>
|
|
getPosFieldBuilder() {
|
|
if (posBuilder_ == null) {
|
|
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>(
|
|
getPos(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
pos_ = null;
|
|
}
|
|
return posBuilder_;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 moveDir_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder> moveDirBuilder_;
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return Whether the moveDir field is set.
|
|
*/
|
|
public boolean hasMoveDir() {
|
|
return moveDirBuilder_ != null || moveDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
* @return The moveDir.
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getMoveDir() {
|
|
if (moveDirBuilder_ == null) {
|
|
return moveDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
|
|
} else {
|
|
return moveDirBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public Builder setMoveDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (moveDirBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
moveDir_ = value;
|
|
onChanged();
|
|
} else {
|
|
moveDirBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public Builder setMoveDir(
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder builderForValue) {
|
|
if (moveDirBuilder_ == null) {
|
|
moveDir_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
moveDirBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public Builder mergeMoveDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (moveDirBuilder_ == null) {
|
|
if (moveDir_ != null) {
|
|
moveDir_ =
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.newBuilder(moveDir_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
moveDir_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
moveDirBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public Builder clearMoveDir() {
|
|
if (moveDirBuilder_ == null) {
|
|
moveDir_ = null;
|
|
onChanged();
|
|
} else {
|
|
moveDir_ = null;
|
|
moveDirBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder getMoveDirBuilder() {
|
|
|
|
onChanged();
|
|
return getMoveDirFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getMoveDirOrBuilder() {
|
|
if (moveDirBuilder_ != null) {
|
|
return moveDirBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return moveDir_ == null ?
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : moveDir_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 move_dir = 8;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>
|
|
getMoveDirFieldBuilder() {
|
|
if (moveDirBuilder_ == null) {
|
|
moveDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>(
|
|
getMoveDir(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
moveDir_ = null;
|
|
}
|
|
return moveDirBuilder_;
|
|
}
|
|
|
|
private int speed_ ;
|
|
/**
|
|
* <code>int32 speed = 9;</code>
|
|
* @return The speed.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSpeed() {
|
|
return speed_;
|
|
}
|
|
/**
|
|
* <code>int32 speed = 9;</code>
|
|
* @param value The speed to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSpeed(int value) {
|
|
|
|
speed_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 speed = 9;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSpeed() {
|
|
|
|
speed_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int peerId_ ;
|
|
/**
|
|
* <code>uint32 peer_id = 10;</code>
|
|
* @return The peerId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getPeerId() {
|
|
return peerId_;
|
|
}
|
|
/**
|
|
* <code>uint32 peer_id = 10;</code>
|
|
* @param value The peerId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setPeerId(int value) {
|
|
|
|
peerId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 peer_id = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearPeerId() {
|
|
|
|
peerId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int elementType_ ;
|
|
/**
|
|
* <code>uint32 element_type = 11;</code>
|
|
* @return The elementType.
|
|
*/
|
|
@java.lang.Override
|
|
public int getElementType() {
|
|
return elementType_;
|
|
}
|
|
/**
|
|
* <code>uint32 element_type = 11;</code>
|
|
* @param value The elementType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setElementType(int value) {
|
|
|
|
elementType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 element_type = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearElementType() {
|
|
|
|
elementType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int elementReactionBuff_ ;
|
|
/**
|
|
* <code>uint32 element_reaction_buff = 12;</code>
|
|
* @return The elementReactionBuff.
|
|
*/
|
|
@java.lang.Override
|
|
public int getElementReactionBuff() {
|
|
return elementReactionBuff_;
|
|
}
|
|
/**
|
|
* <code>uint32 element_reaction_buff = 12;</code>
|
|
* @param value The elementReactionBuff to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setElementReactionBuff(int value) {
|
|
|
|
elementReactionBuff_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 element_reaction_buff = 12;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearElementReactionBuff() {
|
|
|
|
elementReactionBuff_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int speedIncreaseCount_ ;
|
|
/**
|
|
* <code>uint32 speed_increase_count = 13;</code>
|
|
* @return The speedIncreaseCount.
|
|
*/
|
|
@java.lang.Override
|
|
public int getSpeedIncreaseCount() {
|
|
return speedIncreaseCount_;
|
|
}
|
|
/**
|
|
* <code>uint32 speed_increase_count = 13;</code>
|
|
* @param value The speedIncreaseCount to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSpeedIncreaseCount(int value) {
|
|
|
|
speedIncreaseCount_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 speed_increase_count = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSpeedIncreaseCount() {
|
|
|
|
speedIncreaseCount_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean hasExtraBall_ ;
|
|
/**
|
|
* <code>bool has_extra_ball = 14;</code>
|
|
* @return The hasExtraBall.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getHasExtraBall() {
|
|
return hasExtraBall_;
|
|
}
|
|
/**
|
|
* <code>bool has_extra_ball = 14;</code>
|
|
* @param value The hasExtraBall to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setHasExtraBall(boolean value) {
|
|
|
|
hasExtraBall_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool has_extra_ball = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearHasExtraBall() {
|
|
|
|
hasExtraBall_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 extraBallDir_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder> extraBallDirBuilder_;
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return Whether the extraBallDir field is set.
|
|
*/
|
|
public boolean hasExtraBallDir() {
|
|
return extraBallDirBuilder_ != null || extraBallDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
* @return The extraBallDir.
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 getExtraBallDir() {
|
|
if (extraBallDirBuilder_ == null) {
|
|
return extraBallDir_ == null ? emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : extraBallDir_;
|
|
} else {
|
|
return extraBallDirBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public Builder setExtraBallDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (extraBallDirBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
extraBallDir_ = value;
|
|
onChanged();
|
|
} else {
|
|
extraBallDirBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public Builder setExtraBallDir(
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder builderForValue) {
|
|
if (extraBallDirBuilder_ == null) {
|
|
extraBallDir_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
extraBallDirBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public Builder mergeExtraBallDir(emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2 value) {
|
|
if (extraBallDirBuilder_ == null) {
|
|
if (extraBallDir_ != null) {
|
|
extraBallDir_ =
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.newBuilder(extraBallDir_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
extraBallDir_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
extraBallDirBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public Builder clearExtraBallDir() {
|
|
if (extraBallDirBuilder_ == null) {
|
|
extraBallDir_ = null;
|
|
onChanged();
|
|
} else {
|
|
extraBallDir_ = null;
|
|
extraBallDirBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder getExtraBallDirBuilder() {
|
|
|
|
onChanged();
|
|
return getExtraBallDirFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder getExtraBallDirOrBuilder() {
|
|
if (extraBallDirBuilder_ != null) {
|
|
return extraBallDirBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return extraBallDir_ == null ?
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.getDefaultInstance() : extraBallDir_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.BreakoutVector2 extra_ball_dir = 15;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>
|
|
getExtraBallDirFieldBuilder() {
|
|
if (extraBallDirBuilder_ == null) {
|
|
extraBallDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2.Builder, emu.grasscutter.net.proto.BreakoutVector2OuterClass.BreakoutVector2OrBuilder>(
|
|
getExtraBallDir(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
extraBallDir_ = null;
|
|
}
|
|
return extraBallDirBuilder_;
|
|
}
|
|
|
|
private int extraBallIndex_ ;
|
|
/**
|
|
* <code>uint32 extra_ball_index = 16;</code>
|
|
* @return The extraBallIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getExtraBallIndex() {
|
|
return extraBallIndex_;
|
|
}
|
|
/**
|
|
* <code>uint32 extra_ball_index = 16;</code>
|
|
* @param value The extraBallIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setExtraBallIndex(int value) {
|
|
|
|
extraBallIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 extra_ball_index = 16;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearExtraBallIndex() {
|
|
|
|
extraBallIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int offset_ ;
|
|
/**
|
|
* <code>int32 offset = 17;</code>
|
|
* @return The offset.
|
|
*/
|
|
@java.lang.Override
|
|
public int getOffset() {
|
|
return offset_;
|
|
}
|
|
/**
|
|
* <code>int32 offset = 17;</code>
|
|
* @param value The offset to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setOffset(int value) {
|
|
|
|
offset_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 offset = 17;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearOffset() {
|
|
|
|
offset_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private long hPPJKHIDMIF_ ;
|
|
/**
|
|
* <code>uint64 HPPJKHIDMIF = 18;</code>
|
|
* @return The hPPJKHIDMIF.
|
|
*/
|
|
@java.lang.Override
|
|
public long getHPPJKHIDMIF() {
|
|
return hPPJKHIDMIF_;
|
|
}
|
|
/**
|
|
* <code>uint64 HPPJKHIDMIF = 18;</code>
|
|
* @param value The hPPJKHIDMIF to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setHPPJKHIDMIF(long value) {
|
|
|
|
hPPJKHIDMIF_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint64 HPPJKHIDMIF = 18;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearHPPJKHIDMIF() {
|
|
|
|
hPPJKHIDMIF_ = 0L;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:BreakoutAction)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:BreakoutAction)
|
|
private static final emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<BreakoutAction>
|
|
PARSER = new com.google.protobuf.AbstractParser<BreakoutAction>() {
|
|
@java.lang.Override
|
|
public BreakoutAction parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new BreakoutAction(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<BreakoutAction> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<BreakoutAction> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.BreakoutActionOuterClass.BreakoutAction getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_BreakoutAction_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_BreakoutAction_fieldAccessorTable;
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
getDescriptor() {
|
|
return descriptor;
|
|
}
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
descriptor;
|
|
static {
|
|
java.lang.String[] descriptorData = {
|
|
"\n\024BreakoutAction.proto\032\025BreakoutVector2." +
|
|
"proto\"\216\005\n\016BreakoutAction\0227\n\013action_type\030" +
|
|
"\001 \001(\0162\".BreakoutAction.BreakoutActionTyp" +
|
|
"e\022\030\n\020client_game_time\030\002 \001(\004\022\030\n\020server_ga" +
|
|
"me_time\030\003 \001(\004\022\021\n\tis_failed\030\004 \001(\010\022\021\n\tpre_" +
|
|
"index\030\005 \001(\r\022\021\n\tnew_index\030\006 \001(\r\022\035\n\003pos\030\007 " +
|
|
"\001(\0132\020.BreakoutVector2\022\"\n\010move_dir\030\010 \001(\0132" +
|
|
"\020.BreakoutVector2\022\r\n\005speed\030\t \001(\005\022\017\n\007peer" +
|
|
"_id\030\n \001(\r\022\024\n\014element_type\030\013 \001(\r\022\035\n\025eleme" +
|
|
"nt_reaction_buff\030\014 \001(\r\022\034\n\024speed_increase" +
|
|
"_count\030\r \001(\r\022\026\n\016has_extra_ball\030\016 \001(\010\022(\n\016" +
|
|
"extra_ball_dir\030\017 \001(\0132\020.BreakoutVector2\022\030" +
|
|
"\n\020extra_ball_index\030\020 \001(\r\022\016\n\006offset\030\021 \001(\005" +
|
|
"\022\023\n\013HPPJKHIDMIF\030\022 \001(\004\"\236\001\n\022BreakoutAction" +
|
|
"Type\022\024\n\020ACTION_TYPE_NONE\020\000\022\033\n\027ACTION_TYP" +
|
|
"E_LAUNCH_BALL\020\001\022\034\n\030ACTION_TYPE_DESTROY_B" +
|
|
"ALL\020\002\022\036\n\032ACTION_TYPE_FALLING_OBJECT\020\003\022\027\n" +
|
|
"\023ACTION_TYPE_MISSILE\020\004B\033\n\031emu.grasscutte" +
|
|
"r.net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.getDescriptor(),
|
|
});
|
|
internal_static_BreakoutAction_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_BreakoutAction_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_BreakoutAction_descriptor,
|
|
new java.lang.String[] { "ActionType", "ClientGameTime", "ServerGameTime", "IsFailed", "PreIndex", "NewIndex", "Pos", "MoveDir", "Speed", "PeerId", "ElementType", "ElementReactionBuff", "SpeedIncreaseCount", "HasExtraBall", "ExtraBallDir", "ExtraBallIndex", "Offset", "HPPJKHIDMIF", });
|
|
emu.grasscutter.net.proto.BreakoutVector2OuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|