All Downloads are FREE. Search and download functionalities are using the official Maven repository.

emu.grasscutter.net.proto.ChangeHpReasonOuterClass Maven / Gradle / Ivy

There is a newer version: 1.0.3-dev
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ChangeHpReason.proto

package emu.grasscutter.net.proto;

public final class ChangeHpReasonOuterClass {
  private ChangeHpReasonOuterClass() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code ChangeHpReason}
   */
  public enum ChangeHpReason
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * ChangeHpNone = 0;
     */
    ChangeHpNone(0),
    /**
     * ChangeHpSubAvatar = 1;
     */
    ChangeHpSubAvatar(1),
    /**
     * ChangeHpSubMonster = 2;
     */
    ChangeHpSubMonster(2),
    /**
     * ChangeHpSubGear = 3;
     */
    ChangeHpSubGear(3),
    /**
     * ChangeHpSubEnvir = 4;
     */
    ChangeHpSubEnvir(4),
    /**
     * ChangeHpSubFall = 5;
     */
    ChangeHpSubFall(5),
    /**
     * ChangeHpSubDrawn = 6;
     */
    ChangeHpSubDrawn(6),
    /**
     * ChangeHpSubAbyss = 7;
     */
    ChangeHpSubAbyss(7),
    /**
     * ChangeHpSubAbility = 8;
     */
    ChangeHpSubAbility(8),
    /**
     * ChangeHpSubSummon = 9;
     */
    ChangeHpSubSummon(9),
    /**
     * ChangeHpSubScript = 10;
     */
    ChangeHpSubScript(10),
    /**
     * ChangeHpSubGm = 11;
     */
    ChangeHpSubGm(11),
    /**
     * ChangeHpSubKillSelf = 12;
     */
    ChangeHpSubKillSelf(12),
    /**
     * ChangeHpSubClimateCold = 13;
     */
    ChangeHpSubClimateCold(13),
    /**
     * ChangeHpSubStormLightning = 14;
     */
    ChangeHpSubStormLightning(14),
    /**
     * ChangeHpSubKillServerGadget = 15;
     */
    ChangeHpSubKillServerGadget(15),
    /**
     * ChangeHpByLua = 51;
     */
    ChangeHpByLua(51),
    /**
     * ChangeHpAddAbility = 101;
     */
    ChangeHpAddAbility(101),
    /**
     * ChangeHpAddItem = 102;
     */
    ChangeHpAddItem(102),
    /**
     * ChangeHpAddRevive = 103;
     */
    ChangeHpAddRevive(103),
    /**
     * ChangeHpAddUpgrade = 104;
     */
    ChangeHpAddUpgrade(104),
    /**
     * ChangeHpAddStatue = 105;
     */
    ChangeHpAddStatue(105),
    /**
     * ChangeHpAddBackground = 106;
     */
    ChangeHpAddBackground(106),
    /**
     * ChangeHpAddGm = 107;
     */
    ChangeHpAddGm(107),
    /**
     * ChangeHpAddTrialAvatarActivity = 108;
     */
    ChangeHpAddTrialAvatarActivity(108),
    UNRECOGNIZED(-1),
    ;

    /**
     * ChangeHpNone = 0;
     */
    public static final int ChangeHpNone_VALUE = 0;
    /**
     * ChangeHpSubAvatar = 1;
     */
    public static final int ChangeHpSubAvatar_VALUE = 1;
    /**
     * ChangeHpSubMonster = 2;
     */
    public static final int ChangeHpSubMonster_VALUE = 2;
    /**
     * ChangeHpSubGear = 3;
     */
    public static final int ChangeHpSubGear_VALUE = 3;
    /**
     * ChangeHpSubEnvir = 4;
     */
    public static final int ChangeHpSubEnvir_VALUE = 4;
    /**
     * ChangeHpSubFall = 5;
     */
    public static final int ChangeHpSubFall_VALUE = 5;
    /**
     * ChangeHpSubDrawn = 6;
     */
    public static final int ChangeHpSubDrawn_VALUE = 6;
    /**
     * ChangeHpSubAbyss = 7;
     */
    public static final int ChangeHpSubAbyss_VALUE = 7;
    /**
     * ChangeHpSubAbility = 8;
     */
    public static final int ChangeHpSubAbility_VALUE = 8;
    /**
     * ChangeHpSubSummon = 9;
     */
    public static final int ChangeHpSubSummon_VALUE = 9;
    /**
     * ChangeHpSubScript = 10;
     */
    public static final int ChangeHpSubScript_VALUE = 10;
    /**
     * ChangeHpSubGm = 11;
     */
    public static final int ChangeHpSubGm_VALUE = 11;
    /**
     * ChangeHpSubKillSelf = 12;
     */
    public static final int ChangeHpSubKillSelf_VALUE = 12;
    /**
     * ChangeHpSubClimateCold = 13;
     */
    public static final int ChangeHpSubClimateCold_VALUE = 13;
    /**
     * ChangeHpSubStormLightning = 14;
     */
    public static final int ChangeHpSubStormLightning_VALUE = 14;
    /**
     * ChangeHpSubKillServerGadget = 15;
     */
    public static final int ChangeHpSubKillServerGadget_VALUE = 15;
    /**
     * ChangeHpByLua = 51;
     */
    public static final int ChangeHpByLua_VALUE = 51;
    /**
     * ChangeHpAddAbility = 101;
     */
    public static final int ChangeHpAddAbility_VALUE = 101;
    /**
     * ChangeHpAddItem = 102;
     */
    public static final int ChangeHpAddItem_VALUE = 102;
    /**
     * ChangeHpAddRevive = 103;
     */
    public static final int ChangeHpAddRevive_VALUE = 103;
    /**
     * ChangeHpAddUpgrade = 104;
     */
    public static final int ChangeHpAddUpgrade_VALUE = 104;
    /**
     * ChangeHpAddStatue = 105;
     */
    public static final int ChangeHpAddStatue_VALUE = 105;
    /**
     * ChangeHpAddBackground = 106;
     */
    public static final int ChangeHpAddBackground_VALUE = 106;
    /**
     * ChangeHpAddGm = 107;
     */
    public static final int ChangeHpAddGm_VALUE = 107;
    /**
     * ChangeHpAddTrialAvatarActivity = 108;
     */
    public static final int ChangeHpAddTrialAvatarActivity_VALUE = 108;


    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ChangeHpReason valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static ChangeHpReason forNumber(int value) {
      switch (value) {
        case 0: return ChangeHpNone;
        case 1: return ChangeHpSubAvatar;
        case 2: return ChangeHpSubMonster;
        case 3: return ChangeHpSubGear;
        case 4: return ChangeHpSubEnvir;
        case 5: return ChangeHpSubFall;
        case 6: return ChangeHpSubDrawn;
        case 7: return ChangeHpSubAbyss;
        case 8: return ChangeHpSubAbility;
        case 9: return ChangeHpSubSummon;
        case 10: return ChangeHpSubScript;
        case 11: return ChangeHpSubGm;
        case 12: return ChangeHpSubKillSelf;
        case 13: return ChangeHpSubClimateCold;
        case 14: return ChangeHpSubStormLightning;
        case 15: return ChangeHpSubKillServerGadget;
        case 51: return ChangeHpByLua;
        case 101: return ChangeHpAddAbility;
        case 102: return ChangeHpAddItem;
        case 103: return ChangeHpAddRevive;
        case 104: return ChangeHpAddUpgrade;
        case 105: return ChangeHpAddStatue;
        case 106: return ChangeHpAddBackground;
        case 107: return ChangeHpAddGm;
        case 108: return ChangeHpAddTrialAvatarActivity;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        ChangeHpReason> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            public ChangeHpReason findValueByNumber(int number) {
              return ChangeHpReason.forNumber(number);
            }
          };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return emu.grasscutter.net.proto.ChangeHpReasonOuterClass.getDescriptor().getEnumTypes().get(0);
    }

    private static final ChangeHpReason[] VALUES = values();

    public static ChangeHpReason valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private ChangeHpReason(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:ChangeHpReason)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\024ChangeHpReason.proto*\343\004\n\016ChangeHpReaso" +
      "n\022\020\n\014ChangeHpNone\020\000\022\025\n\021ChangeHpSubAvatar" +
      "\020\001\022\026\n\022ChangeHpSubMonster\020\002\022\023\n\017ChangeHpSu" +
      "bGear\020\003\022\024\n\020ChangeHpSubEnvir\020\004\022\023\n\017ChangeH" +
      "pSubFall\020\005\022\024\n\020ChangeHpSubDrawn\020\006\022\024\n\020Chan" +
      "geHpSubAbyss\020\007\022\026\n\022ChangeHpSubAbility\020\010\022\025" +
      "\n\021ChangeHpSubSummon\020\t\022\025\n\021ChangeHpSubScri" +
      "pt\020\n\022\021\n\rChangeHpSubGm\020\013\022\027\n\023ChangeHpSubKi" +
      "llSelf\020\014\022\032\n\026ChangeHpSubClimateCold\020\r\022\035\n\031" +
      "ChangeHpSubStormLightning\020\016\022\037\n\033ChangeHpS" +
      "ubKillServerGadget\020\017\022\021\n\rChangeHpByLua\0203\022" +
      "\026\n\022ChangeHpAddAbility\020e\022\023\n\017ChangeHpAddIt" +
      "em\020f\022\025\n\021ChangeHpAddRevive\020g\022\026\n\022ChangeHpA" +
      "ddUpgrade\020h\022\025\n\021ChangeHpAddStatue\020i\022\031\n\025Ch" +
      "angeHpAddBackground\020j\022\021\n\rChangeHpAddGm\020k" +
      "\022\"\n\036ChangeHpAddTrialAvatarActivity\020lB\033\n\031" +
      "emu.grasscutter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy