mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-09 05:25:55 +08:00
* replace the deprecated api * update proto * delete music game * fixed codes * fix costume switch * fix mail bug * Bump version number. * Re-add max boss chest number Co-authored-by: GanyusLeftHorn <1244229+GanyusLeftHorn@users.noreply.github.com>
1203 lines
42 KiB
Java
1203 lines
42 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: HitCollision.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class HitCollisionOuterClass {
|
|
private HitCollisionOuterClass() {}
|
|
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 HitCollisionOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:HitCollision)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>int32 hit_box_index = 8;</code>
|
|
* @return The hitBoxIndex.
|
|
*/
|
|
int getHitBoxIndex();
|
|
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The enum numeric value on the wire for hitColliderType.
|
|
*/
|
|
int getHitColliderTypeValue();
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The hitColliderType.
|
|
*/
|
|
emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType();
|
|
|
|
/**
|
|
* <code>float attackee_hit_entity_angle = 7;</code>
|
|
* @return The attackeeHitEntityAngle.
|
|
*/
|
|
float getAttackeeHitEntityAngle();
|
|
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return Whether the hitDir field is set.
|
|
*/
|
|
boolean hasHitDir();
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return The hitDir.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir();
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder();
|
|
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return Whether the hitPoint field is set.
|
|
*/
|
|
boolean hasHitPoint();
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return The hitPoint.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint();
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder();
|
|
|
|
/**
|
|
* <code>float attackee_hit_force_angle = 10;</code>
|
|
* @return The attackeeHitForceAngle.
|
|
*/
|
|
float getAttackeeHitForceAngle();
|
|
}
|
|
/**
|
|
* Protobuf type {@code HitCollision}
|
|
*/
|
|
public static final class HitCollision extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:HitCollision)
|
|
HitCollisionOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use HitCollision.newBuilder() to construct.
|
|
private HitCollision(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private HitCollision() {
|
|
hitColliderType_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new HitCollision();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private HitCollision(
|
|
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 26: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (hitDir_ != null) {
|
|
subBuilder = hitDir_.toBuilder();
|
|
}
|
|
hitDir_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(hitDir_);
|
|
hitDir_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 40: {
|
|
int rawValue = input.readEnum();
|
|
|
|
hitColliderType_ = rawValue;
|
|
break;
|
|
}
|
|
case 61: {
|
|
|
|
attackeeHitEntityAngle_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 64: {
|
|
|
|
hitBoxIndex_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 85: {
|
|
|
|
attackeeHitForceAngle_ = input.readFloat();
|
|
break;
|
|
}
|
|
case 114: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (hitPoint_ != null) {
|
|
subBuilder = hitPoint_.toBuilder();
|
|
}
|
|
hitPoint_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(hitPoint_);
|
|
hitPoint_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
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.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.class, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder.class);
|
|
}
|
|
|
|
public static final int HIT_BOX_INDEX_FIELD_NUMBER = 8;
|
|
private int hitBoxIndex_;
|
|
/**
|
|
* <code>int32 hit_box_index = 8;</code>
|
|
* @return The hitBoxIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getHitBoxIndex() {
|
|
return hitBoxIndex_;
|
|
}
|
|
|
|
public static final int HIT_COLLIDER_TYPE_FIELD_NUMBER = 5;
|
|
private int hitColliderType_;
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The enum numeric value on the wire for hitColliderType.
|
|
*/
|
|
@java.lang.Override public int getHitColliderTypeValue() {
|
|
return hitColliderType_;
|
|
}
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The hitColliderType.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType result = emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.valueOf(hitColliderType_);
|
|
return result == null ? emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int ATTACKEE_HIT_ENTITY_ANGLE_FIELD_NUMBER = 7;
|
|
private float attackeeHitEntityAngle_;
|
|
/**
|
|
* <code>float attackee_hit_entity_angle = 7;</code>
|
|
* @return The attackeeHitEntityAngle.
|
|
*/
|
|
@java.lang.Override
|
|
public float getAttackeeHitEntityAngle() {
|
|
return attackeeHitEntityAngle_;
|
|
}
|
|
|
|
public static final int HIT_DIR_FIELD_NUMBER = 3;
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector hitDir_;
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return Whether the hitDir field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasHitDir() {
|
|
return hitDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return The hitDir.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir() {
|
|
return hitDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder() {
|
|
return getHitDir();
|
|
}
|
|
|
|
public static final int HIT_POINT_FIELD_NUMBER = 14;
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector hitPoint_;
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return Whether the hitPoint field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasHitPoint() {
|
|
return hitPoint_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return The hitPoint.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint() {
|
|
return hitPoint_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder() {
|
|
return getHitPoint();
|
|
}
|
|
|
|
public static final int ATTACKEE_HIT_FORCE_ANGLE_FIELD_NUMBER = 10;
|
|
private float attackeeHitForceAngle_;
|
|
/**
|
|
* <code>float attackee_hit_force_angle = 10;</code>
|
|
* @return The attackeeHitForceAngle.
|
|
*/
|
|
@java.lang.Override
|
|
public float getAttackeeHitForceAngle() {
|
|
return attackeeHitForceAngle_;
|
|
}
|
|
|
|
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 (hitDir_ != null) {
|
|
output.writeMessage(3, getHitDir());
|
|
}
|
|
if (hitColliderType_ != emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.HIT_COLLIDER_TYPE_INVALID.getNumber()) {
|
|
output.writeEnum(5, hitColliderType_);
|
|
}
|
|
if (attackeeHitEntityAngle_ != 0F) {
|
|
output.writeFloat(7, attackeeHitEntityAngle_);
|
|
}
|
|
if (hitBoxIndex_ != 0) {
|
|
output.writeInt32(8, hitBoxIndex_);
|
|
}
|
|
if (attackeeHitForceAngle_ != 0F) {
|
|
output.writeFloat(10, attackeeHitForceAngle_);
|
|
}
|
|
if (hitPoint_ != null) {
|
|
output.writeMessage(14, getHitPoint());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (hitDir_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(3, getHitDir());
|
|
}
|
|
if (hitColliderType_ != emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.HIT_COLLIDER_TYPE_INVALID.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(5, hitColliderType_);
|
|
}
|
|
if (attackeeHitEntityAngle_ != 0F) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(7, attackeeHitEntityAngle_);
|
|
}
|
|
if (hitBoxIndex_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(8, hitBoxIndex_);
|
|
}
|
|
if (attackeeHitForceAngle_ != 0F) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(10, attackeeHitForceAngle_);
|
|
}
|
|
if (hitPoint_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(14, getHitPoint());
|
|
}
|
|
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.HitCollisionOuterClass.HitCollision)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision other = (emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision) obj;
|
|
|
|
if (getHitBoxIndex()
|
|
!= other.getHitBoxIndex()) return false;
|
|
if (hitColliderType_ != other.hitColliderType_) return false;
|
|
if (java.lang.Float.floatToIntBits(getAttackeeHitEntityAngle())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getAttackeeHitEntityAngle())) return false;
|
|
if (hasHitDir() != other.hasHitDir()) return false;
|
|
if (hasHitDir()) {
|
|
if (!getHitDir()
|
|
.equals(other.getHitDir())) return false;
|
|
}
|
|
if (hasHitPoint() != other.hasHitPoint()) return false;
|
|
if (hasHitPoint()) {
|
|
if (!getHitPoint()
|
|
.equals(other.getHitPoint())) return false;
|
|
}
|
|
if (java.lang.Float.floatToIntBits(getAttackeeHitForceAngle())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getAttackeeHitForceAngle())) 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) + HIT_BOX_INDEX_FIELD_NUMBER;
|
|
hash = (53 * hash) + getHitBoxIndex();
|
|
hash = (37 * hash) + HIT_COLLIDER_TYPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + hitColliderType_;
|
|
hash = (37 * hash) + ATTACKEE_HIT_ENTITY_ANGLE_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getAttackeeHitEntityAngle());
|
|
if (hasHitDir()) {
|
|
hash = (37 * hash) + HIT_DIR_FIELD_NUMBER;
|
|
hash = (53 * hash) + getHitDir().hashCode();
|
|
}
|
|
if (hasHitPoint()) {
|
|
hash = (37 * hash) + HIT_POINT_FIELD_NUMBER;
|
|
hash = (53 * hash) + getHitPoint().hashCode();
|
|
}
|
|
hash = (37 * hash) + ATTACKEE_HIT_FORCE_ANGLE_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getAttackeeHitForceAngle());
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision 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.HitCollisionOuterClass.HitCollision 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 HitCollision}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:HitCollision)
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollisionOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.class, emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.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();
|
|
hitBoxIndex_ = 0;
|
|
|
|
hitColliderType_ = 0;
|
|
|
|
attackeeHitEntityAngle_ = 0F;
|
|
|
|
if (hitDirBuilder_ == null) {
|
|
hitDir_ = null;
|
|
} else {
|
|
hitDir_ = null;
|
|
hitDirBuilder_ = null;
|
|
}
|
|
if (hitPointBuilder_ == null) {
|
|
hitPoint_ = null;
|
|
} else {
|
|
hitPoint_ = null;
|
|
hitPointBuilder_ = null;
|
|
}
|
|
attackeeHitForceAngle_ = 0F;
|
|
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.HitCollisionOuterClass.internal_static_HitCollision_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision build() {
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision buildPartial() {
|
|
emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision result = new emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision(this);
|
|
result.hitBoxIndex_ = hitBoxIndex_;
|
|
result.hitColliderType_ = hitColliderType_;
|
|
result.attackeeHitEntityAngle_ = attackeeHitEntityAngle_;
|
|
if (hitDirBuilder_ == null) {
|
|
result.hitDir_ = hitDir_;
|
|
} else {
|
|
result.hitDir_ = hitDirBuilder_.build();
|
|
}
|
|
if (hitPointBuilder_ == null) {
|
|
result.hitPoint_ = hitPoint_;
|
|
} else {
|
|
result.hitPoint_ = hitPointBuilder_.build();
|
|
}
|
|
result.attackeeHitForceAngle_ = attackeeHitForceAngle_;
|
|
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.HitCollisionOuterClass.HitCollision) {
|
|
return mergeFrom((emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision other) {
|
|
if (other == emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision.getDefaultInstance()) return this;
|
|
if (other.getHitBoxIndex() != 0) {
|
|
setHitBoxIndex(other.getHitBoxIndex());
|
|
}
|
|
if (other.hitColliderType_ != 0) {
|
|
setHitColliderTypeValue(other.getHitColliderTypeValue());
|
|
}
|
|
if (other.getAttackeeHitEntityAngle() != 0F) {
|
|
setAttackeeHitEntityAngle(other.getAttackeeHitEntityAngle());
|
|
}
|
|
if (other.hasHitDir()) {
|
|
mergeHitDir(other.getHitDir());
|
|
}
|
|
if (other.hasHitPoint()) {
|
|
mergeHitPoint(other.getHitPoint());
|
|
}
|
|
if (other.getAttackeeHitForceAngle() != 0F) {
|
|
setAttackeeHitForceAngle(other.getAttackeeHitForceAngle());
|
|
}
|
|
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.HitCollisionOuterClass.HitCollision parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private int hitBoxIndex_ ;
|
|
/**
|
|
* <code>int32 hit_box_index = 8;</code>
|
|
* @return The hitBoxIndex.
|
|
*/
|
|
@java.lang.Override
|
|
public int getHitBoxIndex() {
|
|
return hitBoxIndex_;
|
|
}
|
|
/**
|
|
* <code>int32 hit_box_index = 8;</code>
|
|
* @param value The hitBoxIndex to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setHitBoxIndex(int value) {
|
|
|
|
hitBoxIndex_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 hit_box_index = 8;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearHitBoxIndex() {
|
|
|
|
hitBoxIndex_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int hitColliderType_ = 0;
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The enum numeric value on the wire for hitColliderType.
|
|
*/
|
|
@java.lang.Override public int getHitColliderTypeValue() {
|
|
return hitColliderType_;
|
|
}
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @param value The enum numeric value on the wire for hitColliderType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setHitColliderTypeValue(int value) {
|
|
|
|
hitColliderType_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return The hitColliderType.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType getHitColliderType() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType result = emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.valueOf(hitColliderType_);
|
|
return result == null ? emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @param value The hitColliderType to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setHitColliderType(emu.grasscutter.net.proto.HitColliderTypeOuterClass.HitColliderType value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
hitColliderType_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.HitColliderType hit_collider_type = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearHitColliderType() {
|
|
|
|
hitColliderType_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private float attackeeHitEntityAngle_ ;
|
|
/**
|
|
* <code>float attackee_hit_entity_angle = 7;</code>
|
|
* @return The attackeeHitEntityAngle.
|
|
*/
|
|
@java.lang.Override
|
|
public float getAttackeeHitEntityAngle() {
|
|
return attackeeHitEntityAngle_;
|
|
}
|
|
/**
|
|
* <code>float attackee_hit_entity_angle = 7;</code>
|
|
* @param value The attackeeHitEntityAngle to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAttackeeHitEntityAngle(float value) {
|
|
|
|
attackeeHitEntityAngle_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float attackee_hit_entity_angle = 7;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAttackeeHitEntityAngle() {
|
|
|
|
attackeeHitEntityAngle_ = 0F;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector hitDir_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> hitDirBuilder_;
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return Whether the hitDir field is set.
|
|
*/
|
|
public boolean hasHitDir() {
|
|
return hitDirBuilder_ != null || hitDir_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
* @return The hitDir.
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitDir() {
|
|
if (hitDirBuilder_ == null) {
|
|
return hitDir_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
|
|
} else {
|
|
return hitDirBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public Builder setHitDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (hitDirBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
hitDir_ = value;
|
|
onChanged();
|
|
} else {
|
|
hitDirBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public Builder setHitDir(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (hitDirBuilder_ == null) {
|
|
hitDir_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
hitDirBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public Builder mergeHitDir(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (hitDirBuilder_ == null) {
|
|
if (hitDir_ != null) {
|
|
hitDir_ =
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(hitDir_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
hitDir_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
hitDirBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public Builder clearHitDir() {
|
|
if (hitDirBuilder_ == null) {
|
|
hitDir_ = null;
|
|
onChanged();
|
|
} else {
|
|
hitDir_ = null;
|
|
hitDirBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getHitDirBuilder() {
|
|
|
|
onChanged();
|
|
return getHitDirFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitDirOrBuilder() {
|
|
if (hitDirBuilder_ != null) {
|
|
return hitDirBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return hitDir_ == null ?
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitDir_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector hit_dir = 3;</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>
|
|
getHitDirFieldBuilder() {
|
|
if (hitDirBuilder_ == null) {
|
|
hitDirBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
getHitDir(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
hitDir_ = null;
|
|
}
|
|
return hitDirBuilder_;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector hitPoint_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> hitPointBuilder_;
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return Whether the hitPoint field is set.
|
|
*/
|
|
public boolean hasHitPoint() {
|
|
return hitPointBuilder_ != null || hitPoint_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
* @return The hitPoint.
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getHitPoint() {
|
|
if (hitPointBuilder_ == null) {
|
|
return hitPoint_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
|
|
} else {
|
|
return hitPointBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public Builder setHitPoint(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (hitPointBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
hitPoint_ = value;
|
|
onChanged();
|
|
} else {
|
|
hitPointBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public Builder setHitPoint(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (hitPointBuilder_ == null) {
|
|
hitPoint_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
hitPointBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public Builder mergeHitPoint(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (hitPointBuilder_ == null) {
|
|
if (hitPoint_ != null) {
|
|
hitPoint_ =
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(hitPoint_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
hitPoint_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
hitPointBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public Builder clearHitPoint() {
|
|
if (hitPointBuilder_ == null) {
|
|
hitPoint_ = null;
|
|
onChanged();
|
|
} else {
|
|
hitPoint_ = null;
|
|
hitPointBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getHitPointBuilder() {
|
|
|
|
onChanged();
|
|
return getHitPointFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getHitPointOrBuilder() {
|
|
if (hitPointBuilder_ != null) {
|
|
return hitPointBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return hitPoint_ == null ?
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : hitPoint_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector hit_point = 14;</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>
|
|
getHitPointFieldBuilder() {
|
|
if (hitPointBuilder_ == null) {
|
|
hitPointBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
getHitPoint(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
hitPoint_ = null;
|
|
}
|
|
return hitPointBuilder_;
|
|
}
|
|
|
|
private float attackeeHitForceAngle_ ;
|
|
/**
|
|
* <code>float attackee_hit_force_angle = 10;</code>
|
|
* @return The attackeeHitForceAngle.
|
|
*/
|
|
@java.lang.Override
|
|
public float getAttackeeHitForceAngle() {
|
|
return attackeeHitForceAngle_;
|
|
}
|
|
/**
|
|
* <code>float attackee_hit_force_angle = 10;</code>
|
|
* @param value The attackeeHitForceAngle to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAttackeeHitForceAngle(float value) {
|
|
|
|
attackeeHitForceAngle_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float attackee_hit_force_angle = 10;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAttackeeHitForceAngle() {
|
|
|
|
attackeeHitForceAngle_ = 0F;
|
|
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:HitCollision)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:HitCollision)
|
|
private static final emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<HitCollision>
|
|
PARSER = new com.google.protobuf.AbstractParser<HitCollision>() {
|
|
@java.lang.Override
|
|
public HitCollision parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new HitCollision(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<HitCollision> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<HitCollision> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HitCollisionOuterClass.HitCollision getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_HitCollision_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_HitCollision_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\022HitCollision.proto\032\025HitColliderType.pr" +
|
|
"oto\032\014Vector.proto\"\315\001\n\014HitCollision\022\025\n\rhi" +
|
|
"t_box_index\030\010 \001(\005\022+\n\021hit_collider_type\030\005" +
|
|
" \001(\0162\020.HitColliderType\022!\n\031attackee_hit_e" +
|
|
"ntity_angle\030\007 \001(\002\022\030\n\007hit_dir\030\003 \001(\0132\007.Vec" +
|
|
"tor\022\032\n\thit_point\030\016 \001(\0132\007.Vector\022 \n\030attac" +
|
|
"kee_hit_force_angle\030\n \001(\002B\033\n\031emu.grasscu" +
|
|
"tter.net.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.HitColliderTypeOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_HitCollision_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_HitCollision_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_HitCollision_descriptor,
|
|
new java.lang.String[] { "HitBoxIndex", "HitColliderType", "AttackeeHitEntityAngle", "HitDir", "HitPoint", "AttackeeHitForceAngle", });
|
|
emu.grasscutter.net.proto.HitColliderTypeOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|