Enum Class ENetReasonOuterClass.ENetReason

java.lang.Object
java.lang.Enum<ENetReasonOuterClass.ENetReason>
emu.grasscutter.net.proto.ENetReasonOuterClass.ENetReason
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ENetReasonOuterClass.ENetReason>, Constable
Enclosing class:
ENetReasonOuterClass

public static enum ENetReasonOuterClass.ENetReason extends Enum<ENetReasonOuterClass.ENetReason> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum ENetReason
  • Enum Constant Details

  • Field Details

    • ENET_TIMEOUT_VALUE

      public static final int ENET_TIMEOUT_VALUE
      ENET_TIMEOUT = 0;
      See Also:
    • ENET_CLIENT_CLOSE_VALUE

      public static final int ENET_CLIENT_CLOSE_VALUE
      ENET_CLIENT_CLOSE = 1;
      See Also:
    • ENET_CLIENT_REBIND_FAIL_VALUE

      public static final int ENET_CLIENT_REBIND_FAIL_VALUE
      ENET_CLIENT_REBIND_FAIL = 2;
      See Also:
    • ENET_CLIENT_SHUTDOWN_VALUE

      public static final int ENET_CLIENT_SHUTDOWN_VALUE
      ENET_CLIENT_SHUTDOWN = 3;
      See Also:
    • ENET_SERVER_RELOGIN_VALUE

      public static final int ENET_SERVER_RELOGIN_VALUE
      ENET_SERVER_RELOGIN = 4;
      See Also:
    • ENET_SERVER_KICK_VALUE

      public static final int ENET_SERVER_KICK_VALUE
      ENET_SERVER_KICK = 5;
      See Also:
    • ENET_SERVER_SHUTDOWN_VALUE

      public static final int ENET_SERVER_SHUTDOWN_VALUE
      ENET_SERVER_SHUTDOWN = 6;
      See Also:
    • ENET_NOT_FOUND_SESSION_VALUE

      public static final int ENET_NOT_FOUND_SESSION_VALUE
      ENET_NOT_FOUND_SESSION = 7;
      See Also:
    • ENET_LOGIN_UNFINISHED_VALUE

      public static final int ENET_LOGIN_UNFINISHED_VALUE
      ENET_LOGIN_UNFINISHED = 8;
      See Also:
    • ENET_PACKET_FREQ_TOO_HIGH_VALUE

      public static final int ENET_PACKET_FREQ_TOO_HIGH_VALUE
      ENET_PACKET_FREQ_TOO_HIGH = 9;
      See Also:
    • ENET_PING_TIMEOUT_VALUE

      public static final int ENET_PING_TIMEOUT_VALUE
      ENET_PING_TIMEOUT = 10;
      See Also:
    • ENET_TRANFER_FAILED_VALUE

      public static final int ENET_TRANFER_FAILED_VALUE
      ENET_TRANFER_FAILED = 11;
      See Also:
    • ENET_SERVER_KILL_CLIENT_VALUE

      public static final int ENET_SERVER_KILL_CLIENT_VALUE
      ENET_SERVER_KILL_CLIENT = 12;
      See Also:
    • ENET_CHECK_MOVE_SPEED_VALUE

      public static final int ENET_CHECK_MOVE_SPEED_VALUE
      ENET_CHECK_MOVE_SPEED = 13;
      See Also:
    • ENET_ACCOUNT_PASSWORD_CHANGE_VALUE

      public static final int ENET_ACCOUNT_PASSWORD_CHANGE_VALUE
      ENET_ACCOUNT_PASSWORD_CHANGE = 14;
      See Also:
    • ENET_SECURITY_KICK_VALUE

      public static final int ENET_SECURITY_KICK_VALUE
      ENET_SECURITY_KICK = 15;
      See Also:
    • ENET_LUA_SHELL_TIMEOUT_VALUE

      public static final int ENET_LUA_SHELL_TIMEOUT_VALUE
      ENET_LUA_SHELL_TIMEOUT = 16;
      See Also:
    • ENET_SDKFAIL_KICK_VALUE

      public static final int ENET_SDKFAIL_KICK_VALUE
      ENET_SDKFAIL_KICK = 17;
      See Also:
    • ENET_PACKET_COST_TIME_VALUE

      public static final int ENET_PACKET_COST_TIME_VALUE
      ENET_PACKET_COST_TIME = 18;
      See Also:
    • ENET_PACKET_UNION_FREQ_VALUE

      public static final int ENET_PACKET_UNION_FREQ_VALUE
      ENET_PACKET_UNION_FREQ = 19;
      See Also:
    • ENET_WAIT_SND_MAX_VALUE

      public static final int ENET_WAIT_SND_MAX_VALUE
      ENET_WAIT_SND_MAX = 20;
      See Also:
    • ENET_CLIENT_CONNECT_KEY_VALUE

      public static final int ENET_CLIENT_CONNECT_KEY_VALUE
      ENET_CLIENT_CONNECT_KEY = 1234567890;
      See Also:
    • ENET_CLIENT_EDITOR_CONNECT_KEY_VALUE

      public static final int ENET_CLIENT_EDITOR_CONNECT_KEY_VALUE
      ENET_CLIENT_EDITOR_CONNECT_KEY = 987654321;
      See Also:
  • Method Details

    • values

      public static ENetReasonOuterClass.ENetReason[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ENetReasonOuterClass.ENetReason valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static ENetReasonOuterClass.ENetReason valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static ENetReasonOuterClass.ENetReason forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<ENetReasonOuterClass.ENetReason> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static ENetReasonOuterClass.ENetReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null