Package emu.grasscutter.net.proto
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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionENET_ACCOUNT_PASSWORD_CHANGE = 14;ENET_CHECK_MOVE_SPEED = 13;ENET_CLIENT_CLOSE = 1;ENET_CLIENT_CONNECT_KEY = 1234567890;ENET_CLIENT_EDITOR_CONNECT_KEY = 987654321;ENET_CLIENT_REBIND_FAIL = 2;ENET_CLIENT_SHUTDOWN = 3;ENET_LOGIN_UNFINISHED = 8;ENET_LUA_SHELL_TIMEOUT = 16;ENET_NOT_FOUND_SESSION = 7;ENET_PACKET_COST_TIME = 18;ENET_PACKET_FREQ_TOO_HIGH = 9;ENET_PACKET_UNION_FREQ = 19;ENET_PING_TIMEOUT = 10;ENET_SDKFAIL_KICK = 17;ENET_SECURITY_KICK = 15;ENET_SERVER_KICK = 5;ENET_SERVER_KILL_CLIENT = 12;ENET_SERVER_RELOGIN = 4;ENET_SERVER_SHUTDOWN = 6;ENET_TIMEOUT = 0;ENET_TRANFER_FAILED = 11;ENET_WAIT_SND_MAX = 20; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intENET_ACCOUNT_PASSWORD_CHANGE = 14;static final intENET_CHECK_MOVE_SPEED = 13;static final intENET_CLIENT_CLOSE = 1;static final intENET_CLIENT_CONNECT_KEY = 1234567890;static final intENET_CLIENT_EDITOR_CONNECT_KEY = 987654321;static final intENET_CLIENT_REBIND_FAIL = 2;static final intENET_CLIENT_SHUTDOWN = 3;static final intENET_LOGIN_UNFINISHED = 8;static final intENET_LUA_SHELL_TIMEOUT = 16;static final intENET_NOT_FOUND_SESSION = 7;static final intENET_PACKET_COST_TIME = 18;static final intENET_PACKET_FREQ_TOO_HIGH = 9;static final intENET_PACKET_UNION_FREQ = 19;static final intENET_PING_TIMEOUT = 10;static final intENET_SDKFAIL_KICK = 17;static final intENET_SECURITY_KICK = 15;static final intENET_SERVER_KICK = 5;static final intENET_SERVER_KILL_CLIENT = 12;static final intENET_SERVER_RELOGIN = 4;static final intENET_SERVER_SHUTDOWN = 6;static final intENET_TIMEOUT = 0;static final intENET_TRANFER_FAILED = 11;static final intENET_WAIT_SND_MAX = 20; -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ENetReasonOuterClass.ENetReason>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.Returns the enum constant of this class with the specified name.static ENetReasonOuterClass.ENetReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENET_TIMEOUT
ENET_TIMEOUT = 0; -
ENET_CLIENT_CLOSE
ENET_CLIENT_CLOSE = 1; -
ENET_CLIENT_REBIND_FAIL
ENET_CLIENT_REBIND_FAIL = 2; -
ENET_CLIENT_SHUTDOWN
ENET_CLIENT_SHUTDOWN = 3; -
ENET_SERVER_RELOGIN
ENET_SERVER_RELOGIN = 4; -
ENET_SERVER_KICK
ENET_SERVER_KICK = 5; -
ENET_SERVER_SHUTDOWN
ENET_SERVER_SHUTDOWN = 6; -
ENET_NOT_FOUND_SESSION
ENET_NOT_FOUND_SESSION = 7; -
ENET_LOGIN_UNFINISHED
ENET_LOGIN_UNFINISHED = 8; -
ENET_PACKET_FREQ_TOO_HIGH
ENET_PACKET_FREQ_TOO_HIGH = 9; -
ENET_PING_TIMEOUT
ENET_PING_TIMEOUT = 10; -
ENET_TRANFER_FAILED
ENET_TRANFER_FAILED = 11; -
ENET_SERVER_KILL_CLIENT
ENET_SERVER_KILL_CLIENT = 12; -
ENET_CHECK_MOVE_SPEED
ENET_CHECK_MOVE_SPEED = 13; -
ENET_ACCOUNT_PASSWORD_CHANGE
ENET_ACCOUNT_PASSWORD_CHANGE = 14; -
ENET_SECURITY_KICK
ENET_SECURITY_KICK = 15; -
ENET_LUA_SHELL_TIMEOUT
ENET_LUA_SHELL_TIMEOUT = 16; -
ENET_SDKFAIL_KICK
ENET_SDKFAIL_KICK = 17; -
ENET_PACKET_COST_TIME
ENET_PACKET_COST_TIME = 18; -
ENET_PACKET_UNION_FREQ
ENET_PACKET_UNION_FREQ = 19; -
ENET_WAIT_SND_MAX
ENET_WAIT_SND_MAX = 20; -
ENET_CLIENT_CONNECT_KEY
ENET_CLIENT_CONNECT_KEY = 1234567890; -
ENET_CLIENT_EDITOR_CONNECT_KEY
ENET_CLIENT_EDITOR_CONNECT_KEY = 987654321; -
UNRECOGNIZED
-
-
Field Details
-
ENET_TIMEOUT_VALUE
public static final int ENET_TIMEOUT_VALUEENET_TIMEOUT = 0;- See Also:
-
ENET_CLIENT_CLOSE_VALUE
public static final int ENET_CLIENT_CLOSE_VALUEENET_CLIENT_CLOSE = 1;- See Also:
-
ENET_CLIENT_REBIND_FAIL_VALUE
public static final int ENET_CLIENT_REBIND_FAIL_VALUEENET_CLIENT_REBIND_FAIL = 2;- See Also:
-
ENET_CLIENT_SHUTDOWN_VALUE
public static final int ENET_CLIENT_SHUTDOWN_VALUEENET_CLIENT_SHUTDOWN = 3;- See Also:
-
ENET_SERVER_RELOGIN_VALUE
public static final int ENET_SERVER_RELOGIN_VALUEENET_SERVER_RELOGIN = 4;- See Also:
-
ENET_SERVER_KICK_VALUE
public static final int ENET_SERVER_KICK_VALUEENET_SERVER_KICK = 5;- See Also:
-
ENET_SERVER_SHUTDOWN_VALUE
public static final int ENET_SERVER_SHUTDOWN_VALUEENET_SERVER_SHUTDOWN = 6;- See Also:
-
ENET_NOT_FOUND_SESSION_VALUE
public static final int ENET_NOT_FOUND_SESSION_VALUEENET_NOT_FOUND_SESSION = 7;- See Also:
-
ENET_LOGIN_UNFINISHED_VALUE
public static final int ENET_LOGIN_UNFINISHED_VALUEENET_LOGIN_UNFINISHED = 8;- See Also:
-
ENET_PACKET_FREQ_TOO_HIGH_VALUE
public static final int ENET_PACKET_FREQ_TOO_HIGH_VALUEENET_PACKET_FREQ_TOO_HIGH = 9;- See Also:
-
ENET_PING_TIMEOUT_VALUE
public static final int ENET_PING_TIMEOUT_VALUEENET_PING_TIMEOUT = 10;- See Also:
-
ENET_TRANFER_FAILED_VALUE
public static final int ENET_TRANFER_FAILED_VALUEENET_TRANFER_FAILED = 11;- See Also:
-
ENET_SERVER_KILL_CLIENT_VALUE
public static final int ENET_SERVER_KILL_CLIENT_VALUEENET_SERVER_KILL_CLIENT = 12;- See Also:
-
ENET_CHECK_MOVE_SPEED_VALUE
public static final int ENET_CHECK_MOVE_SPEED_VALUEENET_CHECK_MOVE_SPEED = 13;- See Also:
-
ENET_ACCOUNT_PASSWORD_CHANGE_VALUE
public static final int ENET_ACCOUNT_PASSWORD_CHANGE_VALUEENET_ACCOUNT_PASSWORD_CHANGE = 14;- See Also:
-
ENET_SECURITY_KICK_VALUE
public static final int ENET_SECURITY_KICK_VALUEENET_SECURITY_KICK = 15;- See Also:
-
ENET_LUA_SHELL_TIMEOUT_VALUE
public static final int ENET_LUA_SHELL_TIMEOUT_VALUEENET_LUA_SHELL_TIMEOUT = 16;- See Also:
-
ENET_SDKFAIL_KICK_VALUE
public static final int ENET_SDKFAIL_KICK_VALUEENET_SDKFAIL_KICK = 17;- See Also:
-
ENET_PACKET_COST_TIME_VALUE
public static final int ENET_PACKET_COST_TIME_VALUEENET_PACKET_COST_TIME = 18;- See Also:
-
ENET_PACKET_UNION_FREQ_VALUE
public static final int ENET_PACKET_UNION_FREQ_VALUEENET_PACKET_UNION_FREQ = 19;- See Also:
-
ENET_WAIT_SND_MAX_VALUE
public static final int ENET_WAIT_SND_MAX_VALUEENET_WAIT_SND_MAX = 20;- See Also:
-
ENET_CLIENT_CONNECT_KEY_VALUE
public static final int ENET_CLIENT_CONNECT_KEY_VALUEENET_CLIENT_CONNECT_KEY = 1234567890;- See Also:
-
ENET_CLIENT_EDITOR_CONNECT_KEY_VALUE
public static final int ENET_CLIENT_EDITOR_CONNECT_KEY_VALUEENET_CLIENT_EDITOR_CONNECT_KEY = 987654321;- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-