// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: EnterType.proto

package emu.grasscutter.net.proto;

public final class EnterTypeOuterClass {
  private EnterTypeOuterClass() {}
  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 EnterType}
   */
  public enum EnterType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * <code>EnterNone = 0;</code>
     */
    EnterNone(0),
    /**
     * <code>EnterSelf = 1;</code>
     */
    EnterSelf(1),
    /**
     * <code>EnterGoto = 2;</code>
     */
    EnterGoto(2),
    /**
     * <code>EnterJump = 3;</code>
     */
    EnterJump(3),
    /**
     * <code>EnterOther = 4;</code>
     */
    EnterOther(4),
    /**
     * <code>EnterBack = 5;</code>
     */
    EnterBack(5),
    /**
     * <code>EnterDungeon = 6;</code>
     */
    EnterDungeon(6),
    /**
     * <code>EnterDungeonReplay = 7;</code>
     */
    EnterDungeonReplay(7),
    /**
     * <code>EnterGotoByPortal = 8;</code>
     */
    EnterGotoByPortal(8),
    /**
     * <code>EnterSelfHome = 9;</code>
     */
    EnterSelfHome(9),
    /**
     * <code>EnterOtherHome = 10;</code>
     */
    EnterOtherHome(10),
    UNRECOGNIZED(-1),
    ;

    /**
     * <code>EnterNone = 0;</code>
     */
    public static final int EnterNone_VALUE = 0;
    /**
     * <code>EnterSelf = 1;</code>
     */
    public static final int EnterSelf_VALUE = 1;
    /**
     * <code>EnterGoto = 2;</code>
     */
    public static final int EnterGoto_VALUE = 2;
    /**
     * <code>EnterJump = 3;</code>
     */
    public static final int EnterJump_VALUE = 3;
    /**
     * <code>EnterOther = 4;</code>
     */
    public static final int EnterOther_VALUE = 4;
    /**
     * <code>EnterBack = 5;</code>
     */
    public static final int EnterBack_VALUE = 5;
    /**
     * <code>EnterDungeon = 6;</code>
     */
    public static final int EnterDungeon_VALUE = 6;
    /**
     * <code>EnterDungeonReplay = 7;</code>
     */
    public static final int EnterDungeonReplay_VALUE = 7;
    /**
     * <code>EnterGotoByPortal = 8;</code>
     */
    public static final int EnterGotoByPortal_VALUE = 8;
    /**
     * <code>EnterSelfHome = 9;</code>
     */
    public static final int EnterSelfHome_VALUE = 9;
    /**
     * <code>EnterOtherHome = 10;</code>
     */
    public static final int EnterOtherHome_VALUE = 10;


    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 EnterType 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 EnterType forNumber(int value) {
      switch (value) {
        case 0: return EnterNone;
        case 1: return EnterSelf;
        case 2: return EnterGoto;
        case 3: return EnterJump;
        case 4: return EnterOther;
        case 5: return EnterBack;
        case 6: return EnterDungeon;
        case 7: return EnterDungeonReplay;
        case 8: return EnterGotoByPortal;
        case 9: return EnterSelfHome;
        case 10: return EnterOtherHome;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<EnterType>
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        EnterType> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap<EnterType>() {
            public EnterType findValueByNumber(int number) {
              return EnterType.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.EnterTypeOuterClass.getDescriptor().getEnumTypes().get(0);
    }

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

    public static EnterType 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 EnterType(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:EnterType)
  }


  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\017EnterType.proto*\316\001\n\tEnterType\022\r\n\tEnter" +
      "None\020\000\022\r\n\tEnterSelf\020\001\022\r\n\tEnterGoto\020\002\022\r\n\t" +
      "EnterJump\020\003\022\016\n\nEnterOther\020\004\022\r\n\tEnterBack" +
      "\020\005\022\020\n\014EnterDungeon\020\006\022\026\n\022EnterDungeonRepl" +
      "ay\020\007\022\025\n\021EnterGotoByPortal\020\010\022\021\n\rEnterSelf" +
      "Home\020\t\022\022\n\016EnterOtherHome\020\nB\033\n\031emu.grassc" +
      "utter.net.protob\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
  }

  // @@protoc_insertion_point(outer_class_scope)
}
