mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 11:09:51 +08:00
feat(5.0): Update protocol definitions
This commit is contained in:
+177
-179
@@ -19,42 +19,41 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* @return Whether the invoke field is set.
|
||||
*/
|
||||
boolean hasInvoke();
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* @return The invoke.
|
||||
*/
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getInvoke();
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder getInvokeOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>uint32 entity_id = 9;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
int getEntityId();
|
||||
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The reason.
|
||||
*/
|
||||
java.lang.String getReason();
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The bytes for reason.
|
||||
*/
|
||||
com.google.protobuf.ByteString
|
||||
getReasonBytes();
|
||||
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return Whether the invoke field is set.
|
||||
*/
|
||||
boolean hasInvoke();
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return The invoke.
|
||||
*/
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getInvoke();
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder getInvokeOrBuilder();
|
||||
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
int getEntityId();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 26730
|
||||
* Obf: PKAPLLHEELP
|
||||
* CmdId: 9225
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AbilityInvocationFailNotify}
|
||||
@@ -102,13 +101,13 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
case 0:
|
||||
done = true;
|
||||
break;
|
||||
case 10: {
|
||||
case 18: {
|
||||
java.lang.String s = input.readStringRequireUtf8();
|
||||
|
||||
reason_ = s;
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
case 74: {
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder subBuilder = null;
|
||||
if (invoke_ != null) {
|
||||
subBuilder = invoke_.toBuilder();
|
||||
@@ -121,7 +120,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
case 120: {
|
||||
|
||||
entityId_ = input.readUInt32();
|
||||
break;
|
||||
@@ -158,47 +157,10 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify.class, emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify.Builder.class);
|
||||
}
|
||||
|
||||
public static final int INVOKE_FIELD_NUMBER = 6;
|
||||
private emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry invoke_;
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* @return Whether the invoke field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasInvoke() {
|
||||
return invoke_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* @return The invoke.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getInvoke() {
|
||||
return invoke_ == null ? emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.getDefaultInstance() : invoke_;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder getInvokeOrBuilder() {
|
||||
return getInvoke();
|
||||
}
|
||||
|
||||
public static final int ENTITY_ID_FIELD_NUMBER = 9;
|
||||
private int entityId_;
|
||||
/**
|
||||
* <code>uint32 entity_id = 9;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntityId() {
|
||||
return entityId_;
|
||||
}
|
||||
|
||||
public static final int REASON_FIELD_NUMBER = 1;
|
||||
public static final int REASON_FIELD_NUMBER = 2;
|
||||
private volatile java.lang.Object reason_;
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The reason.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -215,7 +177,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The bytes for reason.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -233,6 +195,43 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
|
||||
public static final int INVOKE_FIELD_NUMBER = 9;
|
||||
private emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry invoke_;
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return Whether the invoke field is set.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean hasInvoke() {
|
||||
return invoke_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return The invoke.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getInvoke() {
|
||||
return invoke_ == null ? emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.getDefaultInstance() : invoke_;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder getInvokeOrBuilder() {
|
||||
return getInvoke();
|
||||
}
|
||||
|
||||
public static final int ENTITY_ID_FIELD_NUMBER = 15;
|
||||
private int entityId_;
|
||||
/**
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public int getEntityId() {
|
||||
return entityId_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -248,13 +247,13 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reason_);
|
||||
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_);
|
||||
}
|
||||
if (invoke_ != null) {
|
||||
output.writeMessage(6, getInvoke());
|
||||
output.writeMessage(9, getInvoke());
|
||||
}
|
||||
if (entityId_ != 0) {
|
||||
output.writeUInt32(9, entityId_);
|
||||
output.writeUInt32(15, entityId_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
@@ -266,15 +265,15 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
|
||||
size = 0;
|
||||
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, reason_);
|
||||
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_);
|
||||
}
|
||||
if (invoke_ != null) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(6, getInvoke());
|
||||
.computeMessageSize(9, getInvoke());
|
||||
}
|
||||
if (entityId_ != 0) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeUInt32Size(9, entityId_);
|
||||
.computeUInt32Size(15, entityId_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
@@ -291,6 +290,8 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify other = (emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify) obj;
|
||||
|
||||
if (!getReason()
|
||||
.equals(other.getReason())) return false;
|
||||
if (hasInvoke() != other.hasInvoke()) return false;
|
||||
if (hasInvoke()) {
|
||||
if (!getInvoke()
|
||||
@@ -298,8 +299,6 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
if (getEntityId()
|
||||
!= other.getEntityId()) return false;
|
||||
if (!getReason()
|
||||
.equals(other.getReason())) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -311,14 +310,14 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
int hash = 41;
|
||||
hash = (19 * hash) + getDescriptor().hashCode();
|
||||
hash = (37 * hash) + REASON_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getReason().hashCode();
|
||||
if (hasInvoke()) {
|
||||
hash = (37 * hash) + INVOKE_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getInvoke().hashCode();
|
||||
}
|
||||
hash = (37 * hash) + ENTITY_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getEntityId();
|
||||
hash = (37 * hash) + REASON_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getReason().hashCode();
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -416,8 +415,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* CmdId: 26730
|
||||
* Obf: PKAPLLHEELP
|
||||
* CmdId: 9225
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AbilityInvocationFailNotify}
|
||||
@@ -457,6 +455,8 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
reason_ = "";
|
||||
|
||||
if (invokeBuilder_ == null) {
|
||||
invoke_ = null;
|
||||
} else {
|
||||
@@ -465,8 +465,6 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
entityId_ = 0;
|
||||
|
||||
reason_ = "";
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -493,13 +491,13 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
@java.lang.Override
|
||||
public emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify buildPartial() {
|
||||
emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify result = new emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify(this);
|
||||
result.reason_ = reason_;
|
||||
if (invokeBuilder_ == null) {
|
||||
result.invoke_ = invoke_;
|
||||
} else {
|
||||
result.invoke_ = invokeBuilder_.build();
|
||||
}
|
||||
result.entityId_ = entityId_;
|
||||
result.reason_ = reason_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -548,16 +546,16 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
|
||||
public Builder mergeFrom(emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify other) {
|
||||
if (other == emu.grasscutter.net.proto.AbilityInvocationFailNotifyOuterClass.AbilityInvocationFailNotify.getDefaultInstance()) return this;
|
||||
if (!other.getReason().isEmpty()) {
|
||||
reason_ = other.reason_;
|
||||
onChanged();
|
||||
}
|
||||
if (other.hasInvoke()) {
|
||||
mergeInvoke(other.getInvoke());
|
||||
}
|
||||
if (other.getEntityId() != 0) {
|
||||
setEntityId(other.getEntityId());
|
||||
}
|
||||
if (!other.getReason().isEmpty()) {
|
||||
reason_ = other.reason_;
|
||||
onChanged();
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -587,18 +585,94 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object reason_ = "";
|
||||
/**
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The reason.
|
||||
*/
|
||||
public java.lang.String getReason() {
|
||||
java.lang.Object ref = reason_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
reason_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 2;</code>
|
||||
* @return The bytes for reason.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getReasonBytes() {
|
||||
java.lang.Object ref = reason_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
reason_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 2;</code>
|
||||
* @param value The reason to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setReason(
|
||||
java.lang.String value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
reason_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 2;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearReason() {
|
||||
|
||||
reason_ = getDefaultInstance().getReason();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 2;</code>
|
||||
* @param value The bytes for reason to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setReasonBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
reason_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry invoke_;
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder> invokeBuilder_;
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return Whether the invoke field is set.
|
||||
*/
|
||||
public boolean hasInvoke() {
|
||||
return invokeBuilder_ != null || invoke_ != null;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
* @return The invoke.
|
||||
*/
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry getInvoke() {
|
||||
@@ -609,7 +683,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public Builder setInvoke(emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry value) {
|
||||
if (invokeBuilder_ == null) {
|
||||
@@ -625,7 +699,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public Builder setInvoke(
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder builderForValue) {
|
||||
@@ -639,7 +713,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public Builder mergeInvoke(emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry value) {
|
||||
if (invokeBuilder_ == null) {
|
||||
@@ -657,7 +731,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public Builder clearInvoke() {
|
||||
if (invokeBuilder_ == null) {
|
||||
@@ -671,7 +745,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder getInvokeBuilder() {
|
||||
|
||||
@@ -679,7 +753,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return getInvokeFieldBuilder().getBuilder();
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
public emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder getInvokeOrBuilder() {
|
||||
if (invokeBuilder_ != null) {
|
||||
@@ -690,7 +764,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>.AbilityInvokeEntry invoke = 6;</code>
|
||||
* <code>.AbilityInvokeEntry invoke = 9;</code>
|
||||
*/
|
||||
private com.google.protobuf.SingleFieldBuilderV3<
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntry.Builder, emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.AbilityInvokeEntryOrBuilder>
|
||||
@@ -708,7 +782,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
|
||||
private int entityId_ ;
|
||||
/**
|
||||
* <code>uint32 entity_id = 9;</code>
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* @return The entityId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
@@ -716,7 +790,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return entityId_;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entity_id = 9;</code>
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* @param value The entityId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
@@ -727,7 +801,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>uint32 entity_id = 9;</code>
|
||||
* <code>uint32 entity_id = 15;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearEntityId() {
|
||||
@@ -736,82 +810,6 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private java.lang.Object reason_ = "";
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* @return The reason.
|
||||
*/
|
||||
public java.lang.String getReason() {
|
||||
java.lang.Object ref = reason_;
|
||||
if (!(ref instanceof java.lang.String)) {
|
||||
com.google.protobuf.ByteString bs =
|
||||
(com.google.protobuf.ByteString) ref;
|
||||
java.lang.String s = bs.toStringUtf8();
|
||||
reason_ = s;
|
||||
return s;
|
||||
} else {
|
||||
return (java.lang.String) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* @return The bytes for reason.
|
||||
*/
|
||||
public com.google.protobuf.ByteString
|
||||
getReasonBytes() {
|
||||
java.lang.Object ref = reason_;
|
||||
if (ref instanceof String) {
|
||||
com.google.protobuf.ByteString b =
|
||||
com.google.protobuf.ByteString.copyFromUtf8(
|
||||
(java.lang.String) ref);
|
||||
reason_ = b;
|
||||
return b;
|
||||
} else {
|
||||
return (com.google.protobuf.ByteString) ref;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* @param value The reason to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setReason(
|
||||
java.lang.String value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
|
||||
reason_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearReason() {
|
||||
|
||||
reason_ = getDefaultInstance().getReason();
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>string reason = 1;</code>
|
||||
* @param value The bytes for reason to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setReasonBytes(
|
||||
com.google.protobuf.ByteString value) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
checkByteStringIsUtf8(value);
|
||||
|
||||
reason_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -881,9 +879,9 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n!AbilityInvocationFailNotify.proto\032\030Abi" +
|
||||
"lityInvokeEntry.proto\"e\n\033AbilityInvocati" +
|
||||
"onFailNotify\022#\n\006invoke\030\006 \001(\0132\023.AbilityIn" +
|
||||
"vokeEntry\022\021\n\tentity_id\030\t \001(\r\022\016\n\006reason\030\001" +
|
||||
" \001(\tB\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"onFailNotify\022\016\n\006reason\030\002 \001(\t\022#\n\006invoke\030\t" +
|
||||
" \001(\0132\023.AbilityInvokeEntry\022\021\n\tentity_id\030\017" +
|
||||
" \001(\rB\033\n\031emu.grasscutter.net.protob\006proto" +
|
||||
"3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
@@ -896,7 +894,7 @@ public final class AbilityInvocationFailNotifyOuterClass {
|
||||
internal_static_AbilityInvocationFailNotify_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_AbilityInvocationFailNotify_descriptor,
|
||||
new java.lang.String[] { "Invoke", "EntityId", "Reason", });
|
||||
new java.lang.String[] { "Reason", "Invoke", "EntityId", });
|
||||
emu.grasscutter.net.proto.AbilityInvokeEntryOuterClass.getDescriptor();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user