mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-30 20:20:25 +08:00
1793 lines
64 KiB
Java
1793 lines
64 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: RoutePoint.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class RoutePointOuterClass {
|
|
private RoutePointOuterClass() {}
|
|
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 RoutePointOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:RoutePoint)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return Whether the position field is set.
|
|
*/
|
|
boolean hasPosition();
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return The position.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition();
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder();
|
|
|
|
/**
|
|
* <code>float arrive_range = 2;</code>
|
|
* @return The arriveRange.
|
|
*/
|
|
float getArriveRange();
|
|
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return Whether the velocity field is set.
|
|
*/
|
|
boolean hasVelocity();
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return The velocity.
|
|
*/
|
|
float getVelocity();
|
|
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return Whether the time field is set.
|
|
*/
|
|
boolean hasTime();
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return The time.
|
|
*/
|
|
float getTime();
|
|
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return Whether the rotation field is set.
|
|
*/
|
|
boolean hasRotation();
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return The rotation.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getRotation();
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotationOrBuilder();
|
|
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return Whether the rotationSpeed field is set.
|
|
*/
|
|
boolean hasRotationSpeed();
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return The rotationSpeed.
|
|
*/
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getRotationSpeed();
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getRotationSpeedOrBuilder();
|
|
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return Whether the axisSpeed field is set.
|
|
*/
|
|
boolean hasAxisSpeed();
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return The axisSpeed.
|
|
*/
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getAxisSpeed();
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getAxisSpeedOrBuilder();
|
|
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.MoveParamsCase getMoveParamsCase();
|
|
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.RotateParamsCase getRotateParamsCase();
|
|
}
|
|
/**
|
|
* Protobuf type {@code RoutePoint}
|
|
*/
|
|
public static final class RoutePoint extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:RoutePoint)
|
|
RoutePointOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use RoutePoint.newBuilder() to construct.
|
|
private RoutePoint(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private RoutePoint() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new RoutePoint();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private RoutePoint(
|
|
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 10: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (position_ != null) {
|
|
subBuilder = position_.toBuilder();
|
|
}
|
|
position_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(position_);
|
|
position_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 21: {
|
|
|
|
arriveRange_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 93: {
|
|
moveParamsCase_ = 11;
|
|
moveParams_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 101: {
|
|
moveParamsCase_ = 12;
|
|
moveParams_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 170: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (rotateParamsCase_ == 21) {
|
|
subBuilder = ((emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_).toBuilder();
|
|
}
|
|
rotateParams_ =
|
|
input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_);
|
|
rotateParams_ = subBuilder.buildPartial();
|
|
}
|
|
rotateParamsCase_ = 21;
|
|
break;
|
|
}
|
|
case 178: {
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder subBuilder = null;
|
|
if (rotateParamsCase_ == 22) {
|
|
subBuilder = ((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_).toBuilder();
|
|
}
|
|
rotateParams_ =
|
|
input.readMessage(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
rotateParams_ = subBuilder.buildPartial();
|
|
}
|
|
rotateParamsCase_ = 22;
|
|
break;
|
|
}
|
|
case 186: {
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder subBuilder = null;
|
|
if (rotateParamsCase_ == 23) {
|
|
subBuilder = ((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_).toBuilder();
|
|
}
|
|
rotateParams_ =
|
|
input.readMessage(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
rotateParams_ = subBuilder.buildPartial();
|
|
}
|
|
rotateParamsCase_ = 23;
|
|
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.RoutePointOuterClass.internal_static_RoutePoint_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.RoutePointOuterClass.internal_static_RoutePoint_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.class, emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.Builder.class);
|
|
}
|
|
|
|
private int moveParamsCase_ = 0;
|
|
private java.lang.Object moveParams_;
|
|
public enum MoveParamsCase
|
|
implements com.google.protobuf.Internal.EnumLite,
|
|
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
|
VELOCITY(11),
|
|
TIME(12),
|
|
MOVEPARAMS_NOT_SET(0);
|
|
private final int value;
|
|
private MoveParamsCase(int value) {
|
|
this.value = value;
|
|
}
|
|
/**
|
|
* @param value The number of the enum to look for.
|
|
* @return The enum associated with the given number.
|
|
* @deprecated Use {@link #forNumber(int)} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public static MoveParamsCase valueOf(int value) {
|
|
return forNumber(value);
|
|
}
|
|
|
|
public static MoveParamsCase forNumber(int value) {
|
|
switch (value) {
|
|
case 11: return VELOCITY;
|
|
case 12: return TIME;
|
|
case 0: return MOVEPARAMS_NOT_SET;
|
|
default: return null;
|
|
}
|
|
}
|
|
public int getNumber() {
|
|
return this.value;
|
|
}
|
|
};
|
|
|
|
public MoveParamsCase
|
|
getMoveParamsCase() {
|
|
return MoveParamsCase.forNumber(
|
|
moveParamsCase_);
|
|
}
|
|
|
|
private int rotateParamsCase_ = 0;
|
|
private java.lang.Object rotateParams_;
|
|
public enum RotateParamsCase
|
|
implements com.google.protobuf.Internal.EnumLite,
|
|
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
|
ROTATION(21),
|
|
ROTATION_SPEED(22),
|
|
AXIS_SPEED(23),
|
|
ROTATEPARAMS_NOT_SET(0);
|
|
private final int value;
|
|
private RotateParamsCase(int value) {
|
|
this.value = value;
|
|
}
|
|
/**
|
|
* @param value The number of the enum to look for.
|
|
* @return The enum associated with the given number.
|
|
* @deprecated Use {@link #forNumber(int)} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public static RotateParamsCase valueOf(int value) {
|
|
return forNumber(value);
|
|
}
|
|
|
|
public static RotateParamsCase forNumber(int value) {
|
|
switch (value) {
|
|
case 21: return ROTATION;
|
|
case 22: return ROTATION_SPEED;
|
|
case 23: return AXIS_SPEED;
|
|
case 0: return ROTATEPARAMS_NOT_SET;
|
|
default: return null;
|
|
}
|
|
}
|
|
public int getNumber() {
|
|
return this.value;
|
|
}
|
|
};
|
|
|
|
public RotateParamsCase
|
|
getRotateParamsCase() {
|
|
return RotateParamsCase.forNumber(
|
|
rotateParamsCase_);
|
|
}
|
|
|
|
public static final int POSITION_FIELD_NUMBER = 1;
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return Whether the position field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasPosition() {
|
|
return position_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return The position.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() {
|
|
return position_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : position_;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
|
|
return getPosition();
|
|
}
|
|
|
|
public static final int ARRIVE_RANGE_FIELD_NUMBER = 2;
|
|
private float arriveRange_;
|
|
/**
|
|
* <code>float arrive_range = 2;</code>
|
|
* @return The arriveRange.
|
|
*/
|
|
@java.lang.Override
|
|
public float getArriveRange() {
|
|
return arriveRange_;
|
|
}
|
|
|
|
public static final int VELOCITY_FIELD_NUMBER = 11;
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return Whether the velocity field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasVelocity() {
|
|
return moveParamsCase_ == 11;
|
|
}
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return The velocity.
|
|
*/
|
|
@java.lang.Override
|
|
public float getVelocity() {
|
|
if (moveParamsCase_ == 11) {
|
|
return (java.lang.Float) moveParams_;
|
|
}
|
|
return 0F;
|
|
}
|
|
|
|
public static final int TIME_FIELD_NUMBER = 12;
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return Whether the time field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasTime() {
|
|
return moveParamsCase_ == 12;
|
|
}
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return The time.
|
|
*/
|
|
@java.lang.Override
|
|
public float getTime() {
|
|
if (moveParamsCase_ == 12) {
|
|
return (java.lang.Float) moveParams_;
|
|
}
|
|
return 0F;
|
|
}
|
|
|
|
public static final int ROTATION_FIELD_NUMBER = 21;
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return Whether the rotation field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasRotation() {
|
|
return rotateParamsCase_ == 21;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return The rotation.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getRotation() {
|
|
if (rotateParamsCase_ == 21) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotationOrBuilder() {
|
|
if (rotateParamsCase_ == 21) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
|
|
public static final int ROTATION_SPEED_FIELD_NUMBER = 22;
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return Whether the rotationSpeed field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasRotationSpeed() {
|
|
return rotateParamsCase_ == 22;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return The rotationSpeed.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getRotationSpeed() {
|
|
if (rotateParamsCase_ == 22) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getRotationSpeedOrBuilder() {
|
|
if (rotateParamsCase_ == 22) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
|
|
public static final int AXIS_SPEED_FIELD_NUMBER = 23;
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return Whether the axisSpeed field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasAxisSpeed() {
|
|
return rotateParamsCase_ == 23;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return The axisSpeed.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getAxisSpeed() {
|
|
if (rotateParamsCase_ == 23) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getAxisSpeedOrBuilder() {
|
|
if (rotateParamsCase_ == 23) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
|
|
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 (position_ != null) {
|
|
output.writeMessage(1, getPosition());
|
|
}
|
|
if (arriveRange_ != 0F) {
|
|
output.writeFloat(2, arriveRange_);
|
|
}
|
|
if (moveParamsCase_ == 11) {
|
|
output.writeFloat(
|
|
11, (float)((java.lang.Float) moveParams_));
|
|
}
|
|
if (moveParamsCase_ == 12) {
|
|
output.writeFloat(
|
|
12, (float)((java.lang.Float) moveParams_));
|
|
}
|
|
if (rotateParamsCase_ == 21) {
|
|
output.writeMessage(21, (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_);
|
|
}
|
|
if (rotateParamsCase_ == 22) {
|
|
output.writeMessage(22, (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
}
|
|
if (rotateParamsCase_ == 23) {
|
|
output.writeMessage(23, (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (position_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(1, getPosition());
|
|
}
|
|
if (arriveRange_ != 0F) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(2, arriveRange_);
|
|
}
|
|
if (moveParamsCase_ == 11) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(
|
|
11, (float)((java.lang.Float) moveParams_));
|
|
}
|
|
if (moveParamsCase_ == 12) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(
|
|
12, (float)((java.lang.Float) moveParams_));
|
|
}
|
|
if (rotateParamsCase_ == 21) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(21, (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_);
|
|
}
|
|
if (rotateParamsCase_ == 22) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(22, (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
}
|
|
if (rotateParamsCase_ == 23) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(23, (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_);
|
|
}
|
|
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.RoutePointOuterClass.RoutePoint)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint other = (emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint) obj;
|
|
|
|
if (hasPosition() != other.hasPosition()) return false;
|
|
if (hasPosition()) {
|
|
if (!getPosition()
|
|
.equals(other.getPosition())) return false;
|
|
}
|
|
if (java.lang.Float.floatToIntBits(getArriveRange())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getArriveRange())) return false;
|
|
if (!getMoveParamsCase().equals(other.getMoveParamsCase())) return false;
|
|
switch (moveParamsCase_) {
|
|
case 11:
|
|
if (java.lang.Float.floatToIntBits(getVelocity())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getVelocity())) return false;
|
|
break;
|
|
case 12:
|
|
if (java.lang.Float.floatToIntBits(getTime())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getTime())) return false;
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
if (!getRotateParamsCase().equals(other.getRotateParamsCase())) return false;
|
|
switch (rotateParamsCase_) {
|
|
case 21:
|
|
if (!getRotation()
|
|
.equals(other.getRotation())) return false;
|
|
break;
|
|
case 22:
|
|
if (!getRotationSpeed()
|
|
.equals(other.getRotationSpeed())) return false;
|
|
break;
|
|
case 23:
|
|
if (!getAxisSpeed()
|
|
.equals(other.getAxisSpeed())) return false;
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
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();
|
|
if (hasPosition()) {
|
|
hash = (37 * hash) + POSITION_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPosition().hashCode();
|
|
}
|
|
hash = (37 * hash) + ARRIVE_RANGE_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getArriveRange());
|
|
switch (moveParamsCase_) {
|
|
case 11:
|
|
hash = (37 * hash) + VELOCITY_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getVelocity());
|
|
break;
|
|
case 12:
|
|
hash = (37 * hash) + TIME_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getTime());
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
switch (rotateParamsCase_) {
|
|
case 21:
|
|
hash = (37 * hash) + ROTATION_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRotation().hashCode();
|
|
break;
|
|
case 22:
|
|
hash = (37 * hash) + ROTATION_SPEED_FIELD_NUMBER;
|
|
hash = (53 * hash) + getRotationSpeed().hashCode();
|
|
break;
|
|
case 23:
|
|
hash = (37 * hash) + AXIS_SPEED_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAxisSpeed().hashCode();
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint 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.RoutePointOuterClass.RoutePoint parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint 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.RoutePointOuterClass.RoutePoint parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint 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.RoutePointOuterClass.RoutePoint parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint 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.RoutePointOuterClass.RoutePoint parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint 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.RoutePointOuterClass.RoutePoint 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;
|
|
}
|
|
/**
|
|
* Protobuf type {@code RoutePoint}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:RoutePoint)
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePointOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.RoutePointOuterClass.internal_static_RoutePoint_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.RoutePointOuterClass.internal_static_RoutePoint_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.class, emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.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();
|
|
if (positionBuilder_ == null) {
|
|
position_ = null;
|
|
} else {
|
|
position_ = null;
|
|
positionBuilder_ = null;
|
|
}
|
|
arriveRange_ = 0F;
|
|
|
|
moveParamsCase_ = 0;
|
|
moveParams_ = null;
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.RoutePointOuterClass.internal_static_RoutePoint_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint build() {
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint buildPartial() {
|
|
emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint result = new emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint(this);
|
|
if (positionBuilder_ == null) {
|
|
result.position_ = position_;
|
|
} else {
|
|
result.position_ = positionBuilder_.build();
|
|
}
|
|
result.arriveRange_ = arriveRange_;
|
|
if (moveParamsCase_ == 11) {
|
|
result.moveParams_ = moveParams_;
|
|
}
|
|
if (moveParamsCase_ == 12) {
|
|
result.moveParams_ = moveParams_;
|
|
}
|
|
if (rotateParamsCase_ == 21) {
|
|
if (rotationBuilder_ == null) {
|
|
result.rotateParams_ = rotateParams_;
|
|
} else {
|
|
result.rotateParams_ = rotationBuilder_.build();
|
|
}
|
|
}
|
|
if (rotateParamsCase_ == 22) {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
result.rotateParams_ = rotateParams_;
|
|
} else {
|
|
result.rotateParams_ = rotationSpeedBuilder_.build();
|
|
}
|
|
}
|
|
if (rotateParamsCase_ == 23) {
|
|
if (axisSpeedBuilder_ == null) {
|
|
result.rotateParams_ = rotateParams_;
|
|
} else {
|
|
result.rotateParams_ = axisSpeedBuilder_.build();
|
|
}
|
|
}
|
|
result.moveParamsCase_ = moveParamsCase_;
|
|
result.rotateParamsCase_ = rotateParamsCase_;
|
|
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.RoutePointOuterClass.RoutePoint) {
|
|
return mergeFrom((emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint other) {
|
|
if (other == emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint.getDefaultInstance()) return this;
|
|
if (other.hasPosition()) {
|
|
mergePosition(other.getPosition());
|
|
}
|
|
if (other.getArriveRange() != 0F) {
|
|
setArriveRange(other.getArriveRange());
|
|
}
|
|
switch (other.getMoveParamsCase()) {
|
|
case VELOCITY: {
|
|
setVelocity(other.getVelocity());
|
|
break;
|
|
}
|
|
case TIME: {
|
|
setTime(other.getTime());
|
|
break;
|
|
}
|
|
case MOVEPARAMS_NOT_SET: {
|
|
break;
|
|
}
|
|
}
|
|
switch (other.getRotateParamsCase()) {
|
|
case ROTATION: {
|
|
mergeRotation(other.getRotation());
|
|
break;
|
|
}
|
|
case ROTATION_SPEED: {
|
|
mergeRotationSpeed(other.getRotationSpeed());
|
|
break;
|
|
}
|
|
case AXIS_SPEED: {
|
|
mergeAxisSpeed(other.getAxisSpeed());
|
|
break;
|
|
}
|
|
case ROTATEPARAMS_NOT_SET: {
|
|
break;
|
|
}
|
|
}
|
|
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.RoutePointOuterClass.RoutePoint parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int moveParamsCase_ = 0;
|
|
private java.lang.Object moveParams_;
|
|
public MoveParamsCase
|
|
getMoveParamsCase() {
|
|
return MoveParamsCase.forNumber(
|
|
moveParamsCase_);
|
|
}
|
|
|
|
public Builder clearMoveParams() {
|
|
moveParamsCase_ = 0;
|
|
moveParams_ = null;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int rotateParamsCase_ = 0;
|
|
private java.lang.Object rotateParams_;
|
|
public RotateParamsCase
|
|
getRotateParamsCase() {
|
|
return RotateParamsCase.forNumber(
|
|
rotateParamsCase_);
|
|
}
|
|
|
|
public Builder clearRotateParams() {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector position_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> positionBuilder_;
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return Whether the position field is set.
|
|
*/
|
|
public boolean hasPosition() {
|
|
return positionBuilder_ != null || position_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
* @return The position.
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPosition() {
|
|
if (positionBuilder_ == null) {
|
|
return position_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : position_;
|
|
} else {
|
|
return positionBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public Builder setPosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (positionBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
position_ = value;
|
|
onChanged();
|
|
} else {
|
|
positionBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public Builder setPosition(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (positionBuilder_ == null) {
|
|
position_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
positionBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public Builder mergePosition(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (positionBuilder_ == null) {
|
|
if (position_ != null) {
|
|
position_ =
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(position_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
position_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
positionBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public Builder clearPosition() {
|
|
if (positionBuilder_ == null) {
|
|
position_ = null;
|
|
onChanged();
|
|
} else {
|
|
position_ = null;
|
|
positionBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPositionBuilder() {
|
|
|
|
onChanged();
|
|
return getPositionFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPositionOrBuilder() {
|
|
if (positionBuilder_ != null) {
|
|
return positionBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return position_ == null ?
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : position_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector position = 1;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
|
|
getPositionFieldBuilder() {
|
|
if (positionBuilder_ == null) {
|
|
positionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
getPosition(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
position_ = null;
|
|
}
|
|
return positionBuilder_;
|
|
}
|
|
|
|
private float arriveRange_ ;
|
|
/**
|
|
* <code>float arrive_range = 2;</code>
|
|
* @return The arriveRange.
|
|
*/
|
|
@java.lang.Override
|
|
public float getArriveRange() {
|
|
return arriveRange_;
|
|
}
|
|
/**
|
|
* <code>float arrive_range = 2;</code>
|
|
* @param value The arriveRange to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setArriveRange(float value) {
|
|
|
|
arriveRange_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float arrive_range = 2;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearArriveRange() {
|
|
|
|
arriveRange_ = 0F;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return Whether the velocity field is set.
|
|
*/
|
|
public boolean hasVelocity() {
|
|
return moveParamsCase_ == 11;
|
|
}
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return The velocity.
|
|
*/
|
|
public float getVelocity() {
|
|
if (moveParamsCase_ == 11) {
|
|
return (java.lang.Float) moveParams_;
|
|
}
|
|
return 0F;
|
|
}
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @param value The velocity to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setVelocity(float value) {
|
|
moveParamsCase_ = 11;
|
|
moveParams_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float velocity = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearVelocity() {
|
|
if (moveParamsCase_ == 11) {
|
|
moveParamsCase_ = 0;
|
|
moveParams_ = null;
|
|
onChanged();
|
|
}
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return Whether the time field is set.
|
|
*/
|
|
public boolean hasTime() {
|
|
return moveParamsCase_ == 12;
|
|
}
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return The time.
|
|
*/
|
|
public float getTime() {
|
|
if (moveParamsCase_ == 12) {
|
|
return (java.lang.Float) moveParams_;
|
|
}
|
|
return 0F;
|
|
}
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @param value The time to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setTime(float value) {
|
|
moveParamsCase_ = 12;
|
|
moveParams_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float time = 12;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearTime() {
|
|
if (moveParamsCase_ == 12) {
|
|
moveParamsCase_ = 0;
|
|
moveParams_ = null;
|
|
onChanged();
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> rotationBuilder_;
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return Whether the rotation field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasRotation() {
|
|
return rotateParamsCase_ == 21;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
* @return The rotation.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getRotation() {
|
|
if (rotationBuilder_ == null) {
|
|
if (rotateParamsCase_ == 21) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
} else {
|
|
if (rotateParamsCase_ == 21) {
|
|
return rotationBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
public Builder setRotation(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (rotationBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
rotateParams_ = value;
|
|
onChanged();
|
|
} else {
|
|
rotationBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 21;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
public Builder setRotation(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (rotationBuilder_ == null) {
|
|
rotateParams_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
rotationBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
rotateParamsCase_ = 21;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
public Builder mergeRotation(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (rotationBuilder_ == null) {
|
|
if (rotateParamsCase_ == 21 &&
|
|
rotateParams_ != emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance()) {
|
|
rotateParams_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder((emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
rotateParams_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (rotateParamsCase_ == 21) {
|
|
rotationBuilder_.mergeFrom(value);
|
|
}
|
|
rotationBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 21;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
public Builder clearRotation() {
|
|
if (rotationBuilder_ == null) {
|
|
if (rotateParamsCase_ == 21) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (rotateParamsCase_ == 21) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
}
|
|
rotationBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getRotationBuilder() {
|
|
return getRotationFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getRotationOrBuilder() {
|
|
if ((rotateParamsCase_ == 21) && (rotationBuilder_ != null)) {
|
|
return rotationBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (rotateParamsCase_ == 21) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector rotation = 21;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
|
|
getRotationFieldBuilder() {
|
|
if (rotationBuilder_ == null) {
|
|
if (!(rotateParamsCase_ == 21)) {
|
|
rotateParams_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
rotationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
(emu.grasscutter.net.proto.VectorOuterClass.Vector) rotateParams_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
rotateParams_ = null;
|
|
}
|
|
rotateParamsCase_ = 21;
|
|
onChanged();;
|
|
return rotationBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder> rotationSpeedBuilder_;
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return Whether the rotationSpeed field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasRotationSpeed() {
|
|
return rotateParamsCase_ == 22;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
* @return The rotationSpeed.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getRotationSpeed() {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 22) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
} else {
|
|
if (rotateParamsCase_ == 22) {
|
|
return rotationSpeedBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
public Builder setRotationSpeed(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
rotateParams_ = value;
|
|
onChanged();
|
|
} else {
|
|
rotationSpeedBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 22;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
public Builder setRotationSpeed(
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder builderForValue) {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
rotateParams_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
rotationSpeedBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
rotateParamsCase_ = 22;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
public Builder mergeRotationSpeed(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 22 &&
|
|
rotateParams_ != emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance()) {
|
|
rotateParams_ = emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.newBuilder((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
rotateParams_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (rotateParamsCase_ == 22) {
|
|
rotationSpeedBuilder_.mergeFrom(value);
|
|
}
|
|
rotationSpeedBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 22;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
public Builder clearRotationSpeed() {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 22) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (rotateParamsCase_ == 22) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
}
|
|
rotationSpeedBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder getRotationSpeedBuilder() {
|
|
return getRotationSpeedFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getRotationSpeedOrBuilder() {
|
|
if ((rotateParamsCase_ == 22) && (rotationSpeedBuilder_ != null)) {
|
|
return rotationSpeedBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (rotateParamsCase_ == 22) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion rotation_speed = 22;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder>
|
|
getRotationSpeedFieldBuilder() {
|
|
if (rotationSpeedBuilder_ == null) {
|
|
if (!(rotateParamsCase_ == 22)) {
|
|
rotateParams_ = emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
rotationSpeedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder>(
|
|
(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
rotateParams_ = null;
|
|
}
|
|
rotateParamsCase_ = 22;
|
|
onChanged();;
|
|
return rotationSpeedBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder> axisSpeedBuilder_;
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return Whether the axisSpeed field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasAxisSpeed() {
|
|
return rotateParamsCase_ == 23;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
* @return The axisSpeed.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion getAxisSpeed() {
|
|
if (axisSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 23) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
} else {
|
|
if (rotateParamsCase_ == 23) {
|
|
return axisSpeedBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
public Builder setAxisSpeed(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
|
|
if (axisSpeedBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
rotateParams_ = value;
|
|
onChanged();
|
|
} else {
|
|
axisSpeedBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 23;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
public Builder setAxisSpeed(
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder builderForValue) {
|
|
if (axisSpeedBuilder_ == null) {
|
|
rotateParams_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
axisSpeedBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
rotateParamsCase_ = 23;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
public Builder mergeAxisSpeed(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion value) {
|
|
if (axisSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 23 &&
|
|
rotateParams_ != emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance()) {
|
|
rotateParams_ = emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.newBuilder((emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
rotateParams_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (rotateParamsCase_ == 23) {
|
|
axisSpeedBuilder_.mergeFrom(value);
|
|
}
|
|
axisSpeedBuilder_.setMessage(value);
|
|
}
|
|
rotateParamsCase_ = 23;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
public Builder clearAxisSpeed() {
|
|
if (axisSpeedBuilder_ == null) {
|
|
if (rotateParamsCase_ == 23) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (rotateParamsCase_ == 23) {
|
|
rotateParamsCase_ = 0;
|
|
rotateParams_ = null;
|
|
}
|
|
axisSpeedBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder getAxisSpeedBuilder() {
|
|
return getAxisSpeedFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder getAxisSpeedOrBuilder() {
|
|
if ((rotateParamsCase_ == 23) && (axisSpeedBuilder_ != null)) {
|
|
return axisSpeedBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (rotateParamsCase_ == 23) {
|
|
return (emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_;
|
|
}
|
|
return emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.MathQuaternion axis_speed = 23;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder>
|
|
getAxisSpeedFieldBuilder() {
|
|
if (axisSpeedBuilder_ == null) {
|
|
if (!(rotateParamsCase_ == 23)) {
|
|
rotateParams_ = emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.getDefaultInstance();
|
|
}
|
|
axisSpeedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion.Builder, emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternionOrBuilder>(
|
|
(emu.grasscutter.net.proto.MathQuaternionOuterClass.MathQuaternion) rotateParams_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
rotateParams_ = null;
|
|
}
|
|
rotateParamsCase_ = 23;
|
|
onChanged();;
|
|
return axisSpeedBuilder_;
|
|
}
|
|
@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:RoutePoint)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:RoutePoint)
|
|
private static final emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<RoutePoint>
|
|
PARSER = new com.google.protobuf.AbstractParser<RoutePoint>() {
|
|
@java.lang.Override
|
|
public RoutePoint parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new RoutePoint(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<RoutePoint> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<RoutePoint> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.RoutePointOuterClass.RoutePoint getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_RoutePoint_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_RoutePoint_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\020RoutePoint.proto\032\024MathQuaternion.proto" +
|
|
"\032\014Vector.proto\"\360\001\n\nRoutePoint\022\031\n\010positio" +
|
|
"n\030\001 \001(\0132\007.Vector\022\024\n\014arrive_range\030\002 \001(\002\022\022" +
|
|
"\n\010velocity\030\013 \001(\002H\000\022\016\n\004time\030\014 \001(\002H\000\022\033\n\010ro" +
|
|
"tation\030\025 \001(\0132\007.VectorH\001\022)\n\016rotation_spee" +
|
|
"d\030\026 \001(\0132\017.MathQuaternionH\001\022%\n\naxis_speed" +
|
|
"\030\027 \001(\0132\017.MathQuaternionH\001B\r\n\013move_params" +
|
|
"B\017\n\rrotate_paramsB\033\n\031emu.grasscutter.net" +
|
|
".protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_RoutePoint_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_RoutePoint_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_RoutePoint_descriptor,
|
|
new java.lang.String[] { "Position", "ArriveRange", "Velocity", "Time", "Rotation", "RotationSpeed", "AxisSpeed", "MoveParams", "RotateParams", });
|
|
emu.grasscutter.net.proto.MathQuaternionOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|