mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-18 06:39:51 +08:00
feat(5.0): Update protocol definitions
This commit is contained in:
+75
-11
@@ -131,12 +131,14 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
* @return The isServerbuffModifier.
|
||||
*/
|
||||
boolean getIsServerbuffModifier();
|
||||
|
||||
/**
|
||||
* <code>bool NCEGKBANOBP = 14;</code>
|
||||
* @return The nCEGKBANOBP.
|
||||
*/
|
||||
boolean getNCEGKBANOBP();
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: OAHPGFENJJK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AbilityAppliedModifier}
|
||||
*/
|
||||
public static final class AbilityAppliedModifier extends
|
||||
@@ -278,6 +280,11 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
isServerbuffModifier_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
case 112: {
|
||||
|
||||
nCEGKBANOBP_ = input.readBool();
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
if (!parseUnknownField(
|
||||
input, unknownFields, extensionRegistry, tag)) {
|
||||
@@ -513,6 +520,17 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
return isServerbuffModifier_;
|
||||
}
|
||||
|
||||
public static final int NCEGKBANOBP_FIELD_NUMBER = 14;
|
||||
private boolean nCEGKBANOBP_;
|
||||
/**
|
||||
* <code>bool NCEGKBANOBP = 14;</code>
|
||||
* @return The nCEGKBANOBP.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getNCEGKBANOBP() {
|
||||
return nCEGKBANOBP_;
|
||||
}
|
||||
|
||||
private byte memoizedIsInitialized = -1;
|
||||
@java.lang.Override
|
||||
public final boolean isInitialized() {
|
||||
@@ -566,6 +584,9 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
if (isServerbuffModifier_ != false) {
|
||||
output.writeBool(13, isServerbuffModifier_);
|
||||
}
|
||||
if (nCEGKBANOBP_ != false) {
|
||||
output.writeBool(14, nCEGKBANOBP_);
|
||||
}
|
||||
unknownFields.writeTo(output);
|
||||
}
|
||||
|
||||
@@ -627,6 +648,10 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(13, isServerbuffModifier_);
|
||||
}
|
||||
if (nCEGKBANOBP_ != false) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeBoolSize(14, nCEGKBANOBP_);
|
||||
}
|
||||
size += unknownFields.getSerializedSize();
|
||||
memoizedSize = size;
|
||||
return size;
|
||||
@@ -681,6 +706,8 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
!= other.getSbuffUid()) return false;
|
||||
if (getIsServerbuffModifier()
|
||||
!= other.getIsServerbuffModifier()) return false;
|
||||
if (getNCEGKBANOBP()
|
||||
!= other.getNCEGKBANOBP()) return false;
|
||||
if (!unknownFields.equals(other.unknownFields)) return false;
|
||||
return true;
|
||||
}
|
||||
@@ -729,6 +756,9 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
hash = (37 * hash) + IS_SERVERBUFF_MODIFIER_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getIsServerbuffModifier());
|
||||
hash = (37 * hash) + NCEGKBANOBP_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
||||
getNCEGKBANOBP());
|
||||
hash = (29 * hash) + unknownFields.hashCode();
|
||||
memoizedHashCode = hash;
|
||||
return hash;
|
||||
@@ -825,10 +855,6 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* <pre>
|
||||
* Obf: OAHPGFENJJK
|
||||
* </pre>
|
||||
*
|
||||
* Protobuf type {@code AbilityAppliedModifier}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
@@ -908,6 +934,8 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
|
||||
isServerbuffModifier_ = false;
|
||||
|
||||
nCEGKBANOBP_ = false;
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -963,6 +991,7 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
}
|
||||
result.sbuffUid_ = sbuffUid_;
|
||||
result.isServerbuffModifier_ = isServerbuffModifier_;
|
||||
result.nCEGKBANOBP_ = nCEGKBANOBP_;
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
@@ -1050,6 +1079,9 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
if (other.getIsServerbuffModifier() != false) {
|
||||
setIsServerbuffModifier(other.getIsServerbuffModifier());
|
||||
}
|
||||
if (other.getNCEGKBANOBP() != false) {
|
||||
setNCEGKBANOBP(other.getNCEGKBANOBP());
|
||||
}
|
||||
this.mergeUnknownFields(other.unknownFields);
|
||||
onChanged();
|
||||
return this;
|
||||
@@ -1833,6 +1865,37 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
|
||||
private boolean nCEGKBANOBP_ ;
|
||||
/**
|
||||
* <code>bool NCEGKBANOBP = 14;</code>
|
||||
* @return The nCEGKBANOBP.
|
||||
*/
|
||||
@java.lang.Override
|
||||
public boolean getNCEGKBANOBP() {
|
||||
return nCEGKBANOBP_;
|
||||
}
|
||||
/**
|
||||
* <code>bool NCEGKBANOBP = 14;</code>
|
||||
* @param value The nCEGKBANOBP to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder setNCEGKBANOBP(boolean value) {
|
||||
|
||||
nCEGKBANOBP_ = value;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>bool NCEGKBANOBP = 14;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearNCEGKBANOBP() {
|
||||
|
||||
nCEGKBANOBP_ = false;
|
||||
onChanged();
|
||||
return this;
|
||||
}
|
||||
@java.lang.Override
|
||||
public final Builder setUnknownFields(
|
||||
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
||||
@@ -1902,7 +1965,7 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
java.lang.String[] descriptorData = {
|
||||
"\n\034AbilityAppliedModifier.proto\032\023AbilityS" +
|
||||
"tring.proto\032\035AbilityAttachedModifier.pro" +
|
||||
"to\032\030ModifierDurability.proto\"\351\003\n\026Ability" +
|
||||
"to\032\030ModifierDurability.proto\"\376\003\n\026Ability" +
|
||||
"AppliedModifier\022\031\n\021modifier_local_id\030\001 \001" +
|
||||
"(\005\022 \n\030parent_ability_entity_id\030\002 \001(\r\022+\n\023" +
|
||||
"parent_ability_name\030\003 \001(\0132\016.AbilityStrin" +
|
||||
@@ -1915,7 +1978,8 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
"arent_ability\030\n \001(\010\0220\n\023modifier_durabili" +
|
||||
"ty\030\013 \001(\0132\023.ModifierDurability\022\021\n\tsbuff_u" +
|
||||
"id\030\014 \001(\r\022\036\n\026is_serverbuff_modifier\030\r \001(\010" +
|
||||
"B\033\n\031emu.grasscutter.net.protob\006proto3"
|
||||
"\022\023\n\013NCEGKBANOBP\030\016 \001(\010B\033\n\031emu.grasscutter" +
|
||||
".net.protob\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
@@ -1929,7 +1993,7 @@ public final class AbilityAppliedModifierOuterClass {
|
||||
internal_static_AbilityAppliedModifier_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
||||
internal_static_AbilityAppliedModifier_descriptor,
|
||||
new java.lang.String[] { "ModifierLocalId", "ParentAbilityEntityId", "ParentAbilityName", "ParentAbilityOverride", "InstancedAbilityId", "InstancedModifierId", "ExistDuration", "AttachedInstancedModifier", "ApplyEntityId", "IsAttachedParentAbility", "ModifierDurability", "SbuffUid", "IsServerbuffModifier", });
|
||||
new java.lang.String[] { "ModifierLocalId", "ParentAbilityEntityId", "ParentAbilityName", "ParentAbilityOverride", "InstancedAbilityId", "InstancedModifierId", "ExistDuration", "AttachedInstancedModifier", "ApplyEntityId", "IsAttachedParentAbility", "ModifierDurability", "SbuffUid", "IsServerbuffModifier", "NCEGKBANOBP", });
|
||||
emu.grasscutter.net.proto.AbilityStringOuterClass.getDescriptor();
|
||||
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.getDescriptor();
|
||||
emu.grasscutter.net.proto.ModifierDurabilityOuterClass.getDescriptor();
|
||||
|
||||
Reference in New Issue
Block a user