mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-08 13:06:02 +08:00
* Update to game version `3.6.0` (pt. 1) not complete! * Update to game version `3.6.0` (pt. 2) not complete! * Update compiled definitions
2009 lines
77 KiB
Java
2009 lines
77 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: AbilityMetaModifierChange.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class AbilityMetaModifierChangeOuterClass {
|
|
private AbilityMetaModifierChangeOuterClass() {}
|
|
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 AbilityMetaModifierChangeOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:AbilityMetaModifierChange)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 server_buff_uid = 13;</code>
|
|
* @return The serverBuffUid.
|
|
*/
|
|
int getServerBuffUid();
|
|
|
|
/**
|
|
* <code>bool JAODDPOBICJ = 4;</code>
|
|
* @return The jAODDPOBICJ.
|
|
*/
|
|
boolean getJAODDPOBICJ();
|
|
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty>
|
|
getPropertiesList();
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty getProperties(int index);
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
int getPropertiesCount();
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
java.util.List<? extends emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder>
|
|
getPropertiesOrBuilderList();
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder getPropertiesOrBuilder(
|
|
int index);
|
|
|
|
/**
|
|
* <code>int32 modifier_local_id = 5;</code>
|
|
* @return The modifierLocalId.
|
|
*/
|
|
int getModifierLocalId();
|
|
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return Whether the parentAbilityOverride field is set.
|
|
*/
|
|
boolean hasParentAbilityOverride();
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return The parentAbilityOverride.
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityOverride();
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityOverrideOrBuilder();
|
|
|
|
/**
|
|
* <code>bool KJPKHNFAEDC = 14;</code>
|
|
* @return The kJPKHNFAEDC.
|
|
*/
|
|
boolean getKJPKHNFAEDC();
|
|
|
|
/**
|
|
* <code>bool is_attached_parent_ability = 1;</code>
|
|
* @return The isAttachedParentAbility.
|
|
*/
|
|
boolean getIsAttachedParentAbility();
|
|
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return Whether the attachedInstancedModifier field is set.
|
|
*/
|
|
boolean hasAttachedInstancedModifier();
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return The attachedInstancedModifier.
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier getAttachedInstancedModifier();
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder getAttachedInstancedModifierOrBuilder();
|
|
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The enum numeric value on the wire for action.
|
|
*/
|
|
int getActionValue();
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The action.
|
|
*/
|
|
emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction getAction();
|
|
|
|
/**
|
|
* <code>uint32 apply_entity_id = 8;</code>
|
|
* @return The applyEntityId.
|
|
*/
|
|
int getApplyEntityId();
|
|
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return Whether the parentAbilityName field is set.
|
|
*/
|
|
boolean hasParentAbilityName();
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return The parentAbilityName.
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityName();
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityNameOrBuilder();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Name: MPIOJLNOMAC
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code AbilityMetaModifierChange}
|
|
*/
|
|
public static final class AbilityMetaModifierChange extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:AbilityMetaModifierChange)
|
|
AbilityMetaModifierChangeOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use AbilityMetaModifierChange.newBuilder() to construct.
|
|
private AbilityMetaModifierChange(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private AbilityMetaModifierChange() {
|
|
properties_ = java.util.Collections.emptyList();
|
|
action_ = 0;
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new AbilityMetaModifierChange();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private AbilityMetaModifierChange(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
int mutable_bitField0_ = 0;
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 8: {
|
|
|
|
isAttachedParentAbility_ = input.readBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
int rawValue = input.readEnum();
|
|
|
|
action_ = rawValue;
|
|
break;
|
|
}
|
|
case 32: {
|
|
|
|
jAODDPOBICJ_ = input.readBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
|
|
modifierLocalId_ = input.readInt32();
|
|
break;
|
|
}
|
|
case 50: {
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null;
|
|
if (parentAbilityOverride_ != null) {
|
|
subBuilder = parentAbilityOverride_.toBuilder();
|
|
}
|
|
parentAbilityOverride_ = input.readMessage(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(parentAbilityOverride_);
|
|
parentAbilityOverride_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 64: {
|
|
|
|
applyEntityId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 90: {
|
|
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
properties_ = new java.util.ArrayList<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty>();
|
|
mutable_bitField0_ |= 0x00000001;
|
|
}
|
|
properties_.add(
|
|
input.readMessage(emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.parser(), extensionRegistry));
|
|
break;
|
|
}
|
|
case 98: {
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder subBuilder = null;
|
|
if (attachedInstancedModifier_ != null) {
|
|
subBuilder = attachedInstancedModifier_.toBuilder();
|
|
}
|
|
attachedInstancedModifier_ = input.readMessage(emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(attachedInstancedModifier_);
|
|
attachedInstancedModifier_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 104: {
|
|
|
|
serverBuffUid_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
kJPKHNFAEDC_ = input.readBool();
|
|
break;
|
|
}
|
|
case 122: {
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder subBuilder = null;
|
|
if (parentAbilityName_ != null) {
|
|
subBuilder = parentAbilityName_.toBuilder();
|
|
}
|
|
parentAbilityName_ = input.readMessage(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(parentAbilityName_);
|
|
parentAbilityName_ = 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 {
|
|
if (((mutable_bitField0_ & 0x00000001) != 0)) {
|
|
properties_ = java.util.Collections.unmodifiableList(properties_);
|
|
}
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.internal_static_AbilityMetaModifierChange_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.internal_static_AbilityMetaModifierChange_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.class, emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.Builder.class);
|
|
}
|
|
|
|
public static final int SERVER_BUFF_UID_FIELD_NUMBER = 13;
|
|
private int serverBuffUid_;
|
|
/**
|
|
* <code>uint32 server_buff_uid = 13;</code>
|
|
* @return The serverBuffUid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getServerBuffUid() {
|
|
return serverBuffUid_;
|
|
}
|
|
|
|
public static final int JAODDPOBICJ_FIELD_NUMBER = 4;
|
|
private boolean jAODDPOBICJ_;
|
|
/**
|
|
* <code>bool JAODDPOBICJ = 4;</code>
|
|
* @return The jAODDPOBICJ.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getJAODDPOBICJ() {
|
|
return jAODDPOBICJ_;
|
|
}
|
|
|
|
public static final int PROPERTIES_FIELD_NUMBER = 11;
|
|
private java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty> properties_;
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty> getPropertiesList() {
|
|
return properties_;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public java.util.List<? extends emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder>
|
|
getPropertiesOrBuilderList() {
|
|
return properties_;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public int getPropertiesCount() {
|
|
return properties_.size();
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty getProperties(int index) {
|
|
return properties_.get(index);
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder getPropertiesOrBuilder(
|
|
int index) {
|
|
return properties_.get(index);
|
|
}
|
|
|
|
public static final int MODIFIER_LOCAL_ID_FIELD_NUMBER = 5;
|
|
private int modifierLocalId_;
|
|
/**
|
|
* <code>int32 modifier_local_id = 5;</code>
|
|
* @return The modifierLocalId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getModifierLocalId() {
|
|
return modifierLocalId_;
|
|
}
|
|
|
|
public static final int PARENT_ABILITY_OVERRIDE_FIELD_NUMBER = 6;
|
|
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityOverride_;
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return Whether the parentAbilityOverride field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasParentAbilityOverride() {
|
|
return parentAbilityOverride_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return The parentAbilityOverride.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityOverride() {
|
|
return parentAbilityOverride_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityOverride_;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityOverrideOrBuilder() {
|
|
return getParentAbilityOverride();
|
|
}
|
|
|
|
public static final int KJPKHNFAEDC_FIELD_NUMBER = 14;
|
|
private boolean kJPKHNFAEDC_;
|
|
/**
|
|
* <code>bool KJPKHNFAEDC = 14;</code>
|
|
* @return The kJPKHNFAEDC.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getKJPKHNFAEDC() {
|
|
return kJPKHNFAEDC_;
|
|
}
|
|
|
|
public static final int IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER = 1;
|
|
private boolean isAttachedParentAbility_;
|
|
/**
|
|
* <code>bool is_attached_parent_ability = 1;</code>
|
|
* @return The isAttachedParentAbility.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsAttachedParentAbility() {
|
|
return isAttachedParentAbility_;
|
|
}
|
|
|
|
public static final int ATTACHED_INSTANCED_MODIFIER_FIELD_NUMBER = 12;
|
|
private emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier attachedInstancedModifier_;
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return Whether the attachedInstancedModifier field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasAttachedInstancedModifier() {
|
|
return attachedInstancedModifier_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return The attachedInstancedModifier.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier getAttachedInstancedModifier() {
|
|
return attachedInstancedModifier_ == null ? emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.getDefaultInstance() : attachedInstancedModifier_;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder getAttachedInstancedModifierOrBuilder() {
|
|
return getAttachedInstancedModifier();
|
|
}
|
|
|
|
public static final int ACTION_FIELD_NUMBER = 3;
|
|
private int action_;
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The enum numeric value on the wire for action.
|
|
*/
|
|
@java.lang.Override public int getActionValue() {
|
|
return action_;
|
|
}
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The action.
|
|
*/
|
|
@java.lang.Override public emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction getAction() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction result = emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.valueOf(action_);
|
|
return result == null ? emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.UNRECOGNIZED : result;
|
|
}
|
|
|
|
public static final int APPLY_ENTITY_ID_FIELD_NUMBER = 8;
|
|
private int applyEntityId_;
|
|
/**
|
|
* <code>uint32 apply_entity_id = 8;</code>
|
|
* @return The applyEntityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getApplyEntityId() {
|
|
return applyEntityId_;
|
|
}
|
|
|
|
public static final int PARENT_ABILITY_NAME_FIELD_NUMBER = 15;
|
|
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityName_;
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return Whether the parentAbilityName field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasParentAbilityName() {
|
|
return parentAbilityName_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return The parentAbilityName.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityName() {
|
|
return parentAbilityName_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityName_;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityNameOrBuilder() {
|
|
return getParentAbilityName();
|
|
}
|
|
|
|
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 (isAttachedParentAbility_ != false) {
|
|
output.writeBool(1, isAttachedParentAbility_);
|
|
}
|
|
if (action_ != emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.MODIFIER_ACTION_ADDED.getNumber()) {
|
|
output.writeEnum(3, action_);
|
|
}
|
|
if (jAODDPOBICJ_ != false) {
|
|
output.writeBool(4, jAODDPOBICJ_);
|
|
}
|
|
if (modifierLocalId_ != 0) {
|
|
output.writeInt32(5, modifierLocalId_);
|
|
}
|
|
if (parentAbilityOverride_ != null) {
|
|
output.writeMessage(6, getParentAbilityOverride());
|
|
}
|
|
if (applyEntityId_ != 0) {
|
|
output.writeUInt32(8, applyEntityId_);
|
|
}
|
|
for (int i = 0; i < properties_.size(); i++) {
|
|
output.writeMessage(11, properties_.get(i));
|
|
}
|
|
if (attachedInstancedModifier_ != null) {
|
|
output.writeMessage(12, getAttachedInstancedModifier());
|
|
}
|
|
if (serverBuffUid_ != 0) {
|
|
output.writeUInt32(13, serverBuffUid_);
|
|
}
|
|
if (kJPKHNFAEDC_ != false) {
|
|
output.writeBool(14, kJPKHNFAEDC_);
|
|
}
|
|
if (parentAbilityName_ != null) {
|
|
output.writeMessage(15, getParentAbilityName());
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (isAttachedParentAbility_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(1, isAttachedParentAbility_);
|
|
}
|
|
if (action_ != emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.MODIFIER_ACTION_ADDED.getNumber()) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeEnumSize(3, action_);
|
|
}
|
|
if (jAODDPOBICJ_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(4, jAODDPOBICJ_);
|
|
}
|
|
if (modifierLocalId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeInt32Size(5, modifierLocalId_);
|
|
}
|
|
if (parentAbilityOverride_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(6, getParentAbilityOverride());
|
|
}
|
|
if (applyEntityId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(8, applyEntityId_);
|
|
}
|
|
for (int i = 0; i < properties_.size(); i++) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(11, properties_.get(i));
|
|
}
|
|
if (attachedInstancedModifier_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(12, getAttachedInstancedModifier());
|
|
}
|
|
if (serverBuffUid_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(13, serverBuffUid_);
|
|
}
|
|
if (kJPKHNFAEDC_ != false) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeBoolSize(14, kJPKHNFAEDC_);
|
|
}
|
|
if (parentAbilityName_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(15, getParentAbilityName());
|
|
}
|
|
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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange other = (emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange) obj;
|
|
|
|
if (getServerBuffUid()
|
|
!= other.getServerBuffUid()) return false;
|
|
if (getJAODDPOBICJ()
|
|
!= other.getJAODDPOBICJ()) return false;
|
|
if (!getPropertiesList()
|
|
.equals(other.getPropertiesList())) return false;
|
|
if (getModifierLocalId()
|
|
!= other.getModifierLocalId()) return false;
|
|
if (hasParentAbilityOverride() != other.hasParentAbilityOverride()) return false;
|
|
if (hasParentAbilityOverride()) {
|
|
if (!getParentAbilityOverride()
|
|
.equals(other.getParentAbilityOverride())) return false;
|
|
}
|
|
if (getKJPKHNFAEDC()
|
|
!= other.getKJPKHNFAEDC()) return false;
|
|
if (getIsAttachedParentAbility()
|
|
!= other.getIsAttachedParentAbility()) return false;
|
|
if (hasAttachedInstancedModifier() != other.hasAttachedInstancedModifier()) return false;
|
|
if (hasAttachedInstancedModifier()) {
|
|
if (!getAttachedInstancedModifier()
|
|
.equals(other.getAttachedInstancedModifier())) return false;
|
|
}
|
|
if (action_ != other.action_) return false;
|
|
if (getApplyEntityId()
|
|
!= other.getApplyEntityId()) return false;
|
|
if (hasParentAbilityName() != other.hasParentAbilityName()) return false;
|
|
if (hasParentAbilityName()) {
|
|
if (!getParentAbilityName()
|
|
.equals(other.getParentAbilityName())) 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) + SERVER_BUFF_UID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getServerBuffUid();
|
|
hash = (37 * hash) + JAODDPOBICJ_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getJAODDPOBICJ());
|
|
if (getPropertiesCount() > 0) {
|
|
hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPropertiesList().hashCode();
|
|
}
|
|
hash = (37 * hash) + MODIFIER_LOCAL_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getModifierLocalId();
|
|
if (hasParentAbilityOverride()) {
|
|
hash = (37 * hash) + PARENT_ABILITY_OVERRIDE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getParentAbilityOverride().hashCode();
|
|
}
|
|
hash = (37 * hash) + KJPKHNFAEDC_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getKJPKHNFAEDC());
|
|
hash = (37 * hash) + IS_ATTACHED_PARENT_ABILITY_FIELD_NUMBER;
|
|
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
|
|
getIsAttachedParentAbility());
|
|
if (hasAttachedInstancedModifier()) {
|
|
hash = (37 * hash) + ATTACHED_INSTANCED_MODIFIER_FIELD_NUMBER;
|
|
hash = (53 * hash) + getAttachedInstancedModifier().hashCode();
|
|
}
|
|
hash = (37 * hash) + ACTION_FIELD_NUMBER;
|
|
hash = (53 * hash) + action_;
|
|
hash = (37 * hash) + APPLY_ENTITY_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getApplyEntityId();
|
|
if (hasParentAbilityName()) {
|
|
hash = (37 * hash) + PARENT_ABILITY_NAME_FIELD_NUMBER;
|
|
hash = (53 * hash) + getParentAbilityName().hashCode();
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange 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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange 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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange 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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange 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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange 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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* Name: MPIOJLNOMAC
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code AbilityMetaModifierChange}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:AbilityMetaModifierChange)
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChangeOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.internal_static_AbilityMetaModifierChange_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.internal_static_AbilityMetaModifierChange_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.class, emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
getPropertiesFieldBuilder();
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
serverBuffUid_ = 0;
|
|
|
|
jAODDPOBICJ_ = false;
|
|
|
|
if (propertiesBuilder_ == null) {
|
|
properties_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
propertiesBuilder_.clear();
|
|
}
|
|
modifierLocalId_ = 0;
|
|
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
parentAbilityOverride_ = null;
|
|
} else {
|
|
parentAbilityOverride_ = null;
|
|
parentAbilityOverrideBuilder_ = null;
|
|
}
|
|
kJPKHNFAEDC_ = false;
|
|
|
|
isAttachedParentAbility_ = false;
|
|
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
attachedInstancedModifier_ = null;
|
|
} else {
|
|
attachedInstancedModifier_ = null;
|
|
attachedInstancedModifierBuilder_ = null;
|
|
}
|
|
action_ = 0;
|
|
|
|
applyEntityId_ = 0;
|
|
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
parentAbilityName_ = null;
|
|
} else {
|
|
parentAbilityName_ = null;
|
|
parentAbilityNameBuilder_ = null;
|
|
}
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.internal_static_AbilityMetaModifierChange_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange build() {
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange buildPartial() {
|
|
emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange result = new emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange(this);
|
|
int from_bitField0_ = bitField0_;
|
|
result.serverBuffUid_ = serverBuffUid_;
|
|
result.jAODDPOBICJ_ = jAODDPOBICJ_;
|
|
if (propertiesBuilder_ == null) {
|
|
if (((bitField0_ & 0x00000001) != 0)) {
|
|
properties_ = java.util.Collections.unmodifiableList(properties_);
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
}
|
|
result.properties_ = properties_;
|
|
} else {
|
|
result.properties_ = propertiesBuilder_.build();
|
|
}
|
|
result.modifierLocalId_ = modifierLocalId_;
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
result.parentAbilityOverride_ = parentAbilityOverride_;
|
|
} else {
|
|
result.parentAbilityOverride_ = parentAbilityOverrideBuilder_.build();
|
|
}
|
|
result.kJPKHNFAEDC_ = kJPKHNFAEDC_;
|
|
result.isAttachedParentAbility_ = isAttachedParentAbility_;
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
result.attachedInstancedModifier_ = attachedInstancedModifier_;
|
|
} else {
|
|
result.attachedInstancedModifier_ = attachedInstancedModifierBuilder_.build();
|
|
}
|
|
result.action_ = action_;
|
|
result.applyEntityId_ = applyEntityId_;
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
result.parentAbilityName_ = parentAbilityName_;
|
|
} else {
|
|
result.parentAbilityName_ = parentAbilityNameBuilder_.build();
|
|
}
|
|
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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange) {
|
|
return mergeFrom((emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange other) {
|
|
if (other == emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange.getDefaultInstance()) return this;
|
|
if (other.getServerBuffUid() != 0) {
|
|
setServerBuffUid(other.getServerBuffUid());
|
|
}
|
|
if (other.getJAODDPOBICJ() != false) {
|
|
setJAODDPOBICJ(other.getJAODDPOBICJ());
|
|
}
|
|
if (propertiesBuilder_ == null) {
|
|
if (!other.properties_.isEmpty()) {
|
|
if (properties_.isEmpty()) {
|
|
properties_ = other.properties_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
} else {
|
|
ensurePropertiesIsMutable();
|
|
properties_.addAll(other.properties_);
|
|
}
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (!other.properties_.isEmpty()) {
|
|
if (propertiesBuilder_.isEmpty()) {
|
|
propertiesBuilder_.dispose();
|
|
propertiesBuilder_ = null;
|
|
properties_ = other.properties_;
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
propertiesBuilder_ =
|
|
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
|
|
getPropertiesFieldBuilder() : null;
|
|
} else {
|
|
propertiesBuilder_.addAllMessages(other.properties_);
|
|
}
|
|
}
|
|
}
|
|
if (other.getModifierLocalId() != 0) {
|
|
setModifierLocalId(other.getModifierLocalId());
|
|
}
|
|
if (other.hasParentAbilityOverride()) {
|
|
mergeParentAbilityOverride(other.getParentAbilityOverride());
|
|
}
|
|
if (other.getKJPKHNFAEDC() != false) {
|
|
setKJPKHNFAEDC(other.getKJPKHNFAEDC());
|
|
}
|
|
if (other.getIsAttachedParentAbility() != false) {
|
|
setIsAttachedParentAbility(other.getIsAttachedParentAbility());
|
|
}
|
|
if (other.hasAttachedInstancedModifier()) {
|
|
mergeAttachedInstancedModifier(other.getAttachedInstancedModifier());
|
|
}
|
|
if (other.action_ != 0) {
|
|
setActionValue(other.getActionValue());
|
|
}
|
|
if (other.getApplyEntityId() != 0) {
|
|
setApplyEntityId(other.getApplyEntityId());
|
|
}
|
|
if (other.hasParentAbilityName()) {
|
|
mergeParentAbilityName(other.getParentAbilityName());
|
|
}
|
|
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.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int bitField0_;
|
|
|
|
private int serverBuffUid_ ;
|
|
/**
|
|
* <code>uint32 server_buff_uid = 13;</code>
|
|
* @return The serverBuffUid.
|
|
*/
|
|
@java.lang.Override
|
|
public int getServerBuffUid() {
|
|
return serverBuffUid_;
|
|
}
|
|
/**
|
|
* <code>uint32 server_buff_uid = 13;</code>
|
|
* @param value The serverBuffUid to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setServerBuffUid(int value) {
|
|
|
|
serverBuffUid_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 server_buff_uid = 13;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearServerBuffUid() {
|
|
|
|
serverBuffUid_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean jAODDPOBICJ_ ;
|
|
/**
|
|
* <code>bool JAODDPOBICJ = 4;</code>
|
|
* @return The jAODDPOBICJ.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getJAODDPOBICJ() {
|
|
return jAODDPOBICJ_;
|
|
}
|
|
/**
|
|
* <code>bool JAODDPOBICJ = 4;</code>
|
|
* @param value The jAODDPOBICJ to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setJAODDPOBICJ(boolean value) {
|
|
|
|
jAODDPOBICJ_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool JAODDPOBICJ = 4;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearJAODDPOBICJ() {
|
|
|
|
jAODDPOBICJ_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty> properties_ =
|
|
java.util.Collections.emptyList();
|
|
private void ensurePropertiesIsMutable() {
|
|
if (!((bitField0_ & 0x00000001) != 0)) {
|
|
properties_ = new java.util.ArrayList<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty>(properties_);
|
|
bitField0_ |= 0x00000001;
|
|
}
|
|
}
|
|
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder> propertiesBuilder_;
|
|
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty> getPropertiesList() {
|
|
if (propertiesBuilder_ == null) {
|
|
return java.util.Collections.unmodifiableList(properties_);
|
|
} else {
|
|
return propertiesBuilder_.getMessageList();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public int getPropertiesCount() {
|
|
if (propertiesBuilder_ == null) {
|
|
return properties_.size();
|
|
} else {
|
|
return propertiesBuilder_.getCount();
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty getProperties(int index) {
|
|
if (propertiesBuilder_ == null) {
|
|
return properties_.get(index);
|
|
} else {
|
|
return propertiesBuilder_.getMessage(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder setProperties(
|
|
int index, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty value) {
|
|
if (propertiesBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensurePropertiesIsMutable();
|
|
properties_.set(index, value);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.setMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder setProperties(
|
|
int index, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder builderForValue) {
|
|
if (propertiesBuilder_ == null) {
|
|
ensurePropertiesIsMutable();
|
|
properties_.set(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.setMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder addProperties(emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty value) {
|
|
if (propertiesBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensurePropertiesIsMutable();
|
|
properties_.add(value);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.addMessage(value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder addProperties(
|
|
int index, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty value) {
|
|
if (propertiesBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
ensurePropertiesIsMutable();
|
|
properties_.add(index, value);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.addMessage(index, value);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder addProperties(
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder builderForValue) {
|
|
if (propertiesBuilder_ == null) {
|
|
ensurePropertiesIsMutable();
|
|
properties_.add(builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.addMessage(builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder addProperties(
|
|
int index, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder builderForValue) {
|
|
if (propertiesBuilder_ == null) {
|
|
ensurePropertiesIsMutable();
|
|
properties_.add(index, builderForValue.build());
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.addMessage(index, builderForValue.build());
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder addAllProperties(
|
|
java.lang.Iterable<? extends emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty> values) {
|
|
if (propertiesBuilder_ == null) {
|
|
ensurePropertiesIsMutable();
|
|
com.google.protobuf.AbstractMessageLite.Builder.addAll(
|
|
values, properties_);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.addAllMessages(values);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder clearProperties() {
|
|
if (propertiesBuilder_ == null) {
|
|
properties_ = java.util.Collections.emptyList();
|
|
bitField0_ = (bitField0_ & ~0x00000001);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public Builder removeProperties(int index) {
|
|
if (propertiesBuilder_ == null) {
|
|
ensurePropertiesIsMutable();
|
|
properties_.remove(index);
|
|
onChanged();
|
|
} else {
|
|
propertiesBuilder_.remove(index);
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder getPropertiesBuilder(
|
|
int index) {
|
|
return getPropertiesFieldBuilder().getBuilder(index);
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder getPropertiesOrBuilder(
|
|
int index) {
|
|
if (propertiesBuilder_ == null) {
|
|
return properties_.get(index); } else {
|
|
return propertiesBuilder_.getMessageOrBuilder(index);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public java.util.List<? extends emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder>
|
|
getPropertiesOrBuilderList() {
|
|
if (propertiesBuilder_ != null) {
|
|
return propertiesBuilder_.getMessageOrBuilderList();
|
|
} else {
|
|
return java.util.Collections.unmodifiableList(properties_);
|
|
}
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder addPropertiesBuilder() {
|
|
return getPropertiesFieldBuilder().addBuilder(
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder addPropertiesBuilder(
|
|
int index) {
|
|
return getPropertiesFieldBuilder().addBuilder(
|
|
index, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.getDefaultInstance());
|
|
}
|
|
/**
|
|
* <code>repeated .ModifierProperty properties = 11;</code>
|
|
*/
|
|
public java.util.List<emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder>
|
|
getPropertiesBuilderList() {
|
|
return getPropertiesFieldBuilder().getBuilderList();
|
|
}
|
|
private com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder>
|
|
getPropertiesFieldBuilder() {
|
|
if (propertiesBuilder_ == null) {
|
|
propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierProperty.Builder, emu.grasscutter.net.proto.ModifierPropertyOuterClass.ModifierPropertyOrBuilder>(
|
|
properties_,
|
|
((bitField0_ & 0x00000001) != 0),
|
|
getParentForChildren(),
|
|
isClean());
|
|
properties_ = null;
|
|
}
|
|
return propertiesBuilder_;
|
|
}
|
|
|
|
private int modifierLocalId_ ;
|
|
/**
|
|
* <code>int32 modifier_local_id = 5;</code>
|
|
* @return The modifierLocalId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getModifierLocalId() {
|
|
return modifierLocalId_;
|
|
}
|
|
/**
|
|
* <code>int32 modifier_local_id = 5;</code>
|
|
* @param value The modifierLocalId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setModifierLocalId(int value) {
|
|
|
|
modifierLocalId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>int32 modifier_local_id = 5;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearModifierLocalId() {
|
|
|
|
modifierLocalId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityOverride_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> parentAbilityOverrideBuilder_;
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return Whether the parentAbilityOverride field is set.
|
|
*/
|
|
public boolean hasParentAbilityOverride() {
|
|
return parentAbilityOverrideBuilder_ != null || parentAbilityOverride_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
* @return The parentAbilityOverride.
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityOverride() {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
return parentAbilityOverride_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityOverride_;
|
|
} else {
|
|
return parentAbilityOverrideBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public Builder setParentAbilityOverride(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
parentAbilityOverride_ = value;
|
|
onChanged();
|
|
} else {
|
|
parentAbilityOverrideBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public Builder setParentAbilityOverride(
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
parentAbilityOverride_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
parentAbilityOverrideBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public Builder mergeParentAbilityOverride(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
if (parentAbilityOverride_ != null) {
|
|
parentAbilityOverride_ =
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(parentAbilityOverride_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
parentAbilityOverride_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
parentAbilityOverrideBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public Builder clearParentAbilityOverride() {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
parentAbilityOverride_ = null;
|
|
onChanged();
|
|
} else {
|
|
parentAbilityOverride_ = null;
|
|
parentAbilityOverrideBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder getParentAbilityOverrideBuilder() {
|
|
|
|
onChanged();
|
|
return getParentAbilityOverrideFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityOverrideOrBuilder() {
|
|
if (parentAbilityOverrideBuilder_ != null) {
|
|
return parentAbilityOverrideBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return parentAbilityOverride_ == null ?
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityOverride_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_override = 6;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
|
|
getParentAbilityOverrideFieldBuilder() {
|
|
if (parentAbilityOverrideBuilder_ == null) {
|
|
parentAbilityOverrideBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
|
|
getParentAbilityOverride(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
parentAbilityOverride_ = null;
|
|
}
|
|
return parentAbilityOverrideBuilder_;
|
|
}
|
|
|
|
private boolean kJPKHNFAEDC_ ;
|
|
/**
|
|
* <code>bool KJPKHNFAEDC = 14;</code>
|
|
* @return The kJPKHNFAEDC.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getKJPKHNFAEDC() {
|
|
return kJPKHNFAEDC_;
|
|
}
|
|
/**
|
|
* <code>bool KJPKHNFAEDC = 14;</code>
|
|
* @param value The kJPKHNFAEDC to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setKJPKHNFAEDC(boolean value) {
|
|
|
|
kJPKHNFAEDC_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool KJPKHNFAEDC = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearKJPKHNFAEDC() {
|
|
|
|
kJPKHNFAEDC_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private boolean isAttachedParentAbility_ ;
|
|
/**
|
|
* <code>bool is_attached_parent_ability = 1;</code>
|
|
* @return The isAttachedParentAbility.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean getIsAttachedParentAbility() {
|
|
return isAttachedParentAbility_;
|
|
}
|
|
/**
|
|
* <code>bool is_attached_parent_ability = 1;</code>
|
|
* @param value The isAttachedParentAbility to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setIsAttachedParentAbility(boolean value) {
|
|
|
|
isAttachedParentAbility_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>bool is_attached_parent_ability = 1;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearIsAttachedParentAbility() {
|
|
|
|
isAttachedParentAbility_ = false;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier attachedInstancedModifier_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder> attachedInstancedModifierBuilder_;
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return Whether the attachedInstancedModifier field is set.
|
|
*/
|
|
public boolean hasAttachedInstancedModifier() {
|
|
return attachedInstancedModifierBuilder_ != null || attachedInstancedModifier_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
* @return The attachedInstancedModifier.
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier getAttachedInstancedModifier() {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
return attachedInstancedModifier_ == null ? emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.getDefaultInstance() : attachedInstancedModifier_;
|
|
} else {
|
|
return attachedInstancedModifierBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public Builder setAttachedInstancedModifier(emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier value) {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
attachedInstancedModifier_ = value;
|
|
onChanged();
|
|
} else {
|
|
attachedInstancedModifierBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public Builder setAttachedInstancedModifier(
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder builderForValue) {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
attachedInstancedModifier_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
attachedInstancedModifierBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public Builder mergeAttachedInstancedModifier(emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier value) {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
if (attachedInstancedModifier_ != null) {
|
|
attachedInstancedModifier_ =
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.newBuilder(attachedInstancedModifier_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
attachedInstancedModifier_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
attachedInstancedModifierBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public Builder clearAttachedInstancedModifier() {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
attachedInstancedModifier_ = null;
|
|
onChanged();
|
|
} else {
|
|
attachedInstancedModifier_ = null;
|
|
attachedInstancedModifierBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder getAttachedInstancedModifierBuilder() {
|
|
|
|
onChanged();
|
|
return getAttachedInstancedModifierFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder getAttachedInstancedModifierOrBuilder() {
|
|
if (attachedInstancedModifierBuilder_ != null) {
|
|
return attachedInstancedModifierBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return attachedInstancedModifier_ == null ?
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.getDefaultInstance() : attachedInstancedModifier_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityAttachedModifier attached_instanced_modifier = 12;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder>
|
|
getAttachedInstancedModifierFieldBuilder() {
|
|
if (attachedInstancedModifierBuilder_ == null) {
|
|
attachedInstancedModifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifier.Builder, emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.AbilityAttachedModifierOrBuilder>(
|
|
getAttachedInstancedModifier(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
attachedInstancedModifier_ = null;
|
|
}
|
|
return attachedInstancedModifierBuilder_;
|
|
}
|
|
|
|
private int action_ = 0;
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The enum numeric value on the wire for action.
|
|
*/
|
|
@java.lang.Override public int getActionValue() {
|
|
return action_;
|
|
}
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @param value The enum numeric value on the wire for action to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setActionValue(int value) {
|
|
|
|
action_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return The action.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction getAction() {
|
|
@SuppressWarnings("deprecation")
|
|
emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction result = emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.valueOf(action_);
|
|
return result == null ? emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction.UNRECOGNIZED : result;
|
|
}
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @param value The action to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setAction(emu.grasscutter.net.proto.ModifierActionOuterClass.ModifierAction value) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
|
|
action_ = value.getNumber();
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.ModifierAction action = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearAction() {
|
|
|
|
action_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int applyEntityId_ ;
|
|
/**
|
|
* <code>uint32 apply_entity_id = 8;</code>
|
|
* @return The applyEntityId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getApplyEntityId() {
|
|
return applyEntityId_;
|
|
}
|
|
/**
|
|
* <code>uint32 apply_entity_id = 8;</code>
|
|
* @param value The applyEntityId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setApplyEntityId(int value) {
|
|
|
|
applyEntityId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 apply_entity_id = 8;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearApplyEntityId() {
|
|
|
|
applyEntityId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString parentAbilityName_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder> parentAbilityNameBuilder_;
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return Whether the parentAbilityName field is set.
|
|
*/
|
|
public boolean hasParentAbilityName() {
|
|
return parentAbilityNameBuilder_ != null || parentAbilityName_ != null;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
* @return The parentAbilityName.
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString getParentAbilityName() {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
return parentAbilityName_ == null ? emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityName_;
|
|
} else {
|
|
return parentAbilityNameBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public Builder setParentAbilityName(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
parentAbilityName_ = value;
|
|
onChanged();
|
|
} else {
|
|
parentAbilityNameBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public Builder setParentAbilityName(
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder builderForValue) {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
parentAbilityName_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
parentAbilityNameBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public Builder mergeParentAbilityName(emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString value) {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
if (parentAbilityName_ != null) {
|
|
parentAbilityName_ =
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.newBuilder(parentAbilityName_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
parentAbilityName_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
parentAbilityNameBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public Builder clearParentAbilityName() {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
parentAbilityName_ = null;
|
|
onChanged();
|
|
} else {
|
|
parentAbilityName_ = null;
|
|
parentAbilityNameBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder getParentAbilityNameBuilder() {
|
|
|
|
onChanged();
|
|
return getParentAbilityNameFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder getParentAbilityNameOrBuilder() {
|
|
if (parentAbilityNameBuilder_ != null) {
|
|
return parentAbilityNameBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return parentAbilityName_ == null ?
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.getDefaultInstance() : parentAbilityName_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.AbilityString parent_ability_name = 15;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>
|
|
getParentAbilityNameFieldBuilder() {
|
|
if (parentAbilityNameBuilder_ == null) {
|
|
parentAbilityNameBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityString.Builder, emu.grasscutter.net.proto.AbilityStringOuterClass.AbilityStringOrBuilder>(
|
|
getParentAbilityName(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
parentAbilityName_ = null;
|
|
}
|
|
return parentAbilityNameBuilder_;
|
|
}
|
|
@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:AbilityMetaModifierChange)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:AbilityMetaModifierChange)
|
|
private static final emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<AbilityMetaModifierChange>
|
|
PARSER = new com.google.protobuf.AbstractParser<AbilityMetaModifierChange>() {
|
|
@java.lang.Override
|
|
public AbilityMetaModifierChange parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new AbilityMetaModifierChange(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<AbilityMetaModifierChange> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<AbilityMetaModifierChange> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.AbilityMetaModifierChangeOuterClass.AbilityMetaModifierChange getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_AbilityMetaModifierChange_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_AbilityMetaModifierChange_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\037AbilityMetaModifierChange.proto\032\035Abili" +
|
|
"tyAttachedModifier.proto\032\023AbilityString." +
|
|
"proto\032\024ModifierAction.proto\032\026ModifierPro" +
|
|
"perty.proto\"\233\003\n\031AbilityMetaModifierChang" +
|
|
"e\022\027\n\017server_buff_uid\030\r \001(\r\022\023\n\013JAODDPOBIC" +
|
|
"J\030\004 \001(\010\022%\n\nproperties\030\013 \003(\0132\021.ModifierPr" +
|
|
"operty\022\031\n\021modifier_local_id\030\005 \001(\005\022/\n\027par" +
|
|
"ent_ability_override\030\006 \001(\0132\016.AbilityStri" +
|
|
"ng\022\023\n\013KJPKHNFAEDC\030\016 \001(\010\022\"\n\032is_attached_p" +
|
|
"arent_ability\030\001 \001(\010\022=\n\033attached_instance" +
|
|
"d_modifier\030\014 \001(\0132\030.AbilityAttachedModifi" +
|
|
"er\022\037\n\006action\030\003 \001(\0162\017.ModifierAction\022\027\n\017a" +
|
|
"pply_entity_id\030\010 \001(\r\022+\n\023parent_ability_n" +
|
|
"ame\030\017 \001(\0132\016.AbilityStringB\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.AbilityAttachedModifierOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.ModifierActionOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_AbilityMetaModifierChange_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_AbilityMetaModifierChange_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_AbilityMetaModifierChange_descriptor,
|
|
new java.lang.String[] { "ServerBuffUid", "JAODDPOBICJ", "Properties", "ModifierLocalId", "ParentAbilityOverride", "KJPKHNFAEDC", "IsAttachedParentAbility", "AttachedInstancedModifier", "Action", "ApplyEntityId", "ParentAbilityName", });
|
|
emu.grasscutter.net.proto.AbilityAttachedModifierOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.AbilityStringOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.ModifierActionOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.ModifierPropertyOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|