Package emu.grasscutter.net.proto
Enum Class PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason
java.lang.Object
java.lang.Enum<PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason>
emu.grasscutter.net.proto.PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason>,Constable
- Enclosing class:
- PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify
public static enum PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason
extends Enum<PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
PlayerQuitFromMpNotify.QuitReason-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQUIT_REASON_BACK_TO_MY_WORLD = 3;QUIT_REASON_BE_BLOCKED = 6;QUIT_REASON_HOST_NO_OTHER_PLAYER = 1;QUIT_REASON_HOST_SCENE_INVALID = 8;QUIT_REASON_INVALID = 0;QUIT_REASON_KICK_BY_HOST = 2;QUIT_REASON_KICK_BY_HOST_BLOCK = 5;QUIT_REASON_KICK_BY_HOST_ENTER_HOME = 7;QUIT_REASON_KICK_BY_HOST_LOGOUT = 4;QUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10;QUIT_REASON_KICK_BY_PLAY = 9; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intQUIT_REASON_BACK_TO_MY_WORLD = 3;static final intQUIT_REASON_BE_BLOCKED = 6;static final intQUIT_REASON_HOST_NO_OTHER_PLAYER = 1;static final intQUIT_REASON_HOST_SCENE_INVALID = 8;static final intQUIT_REASON_INVALID = 0;static final intQUIT_REASON_KICK_BY_HOST_BLOCK = 5;static final intQUIT_REASON_KICK_BY_HOST_ENTER_HOME = 7;static final intQUIT_REASON_KICK_BY_HOST_LOGOUT = 4;static final intQUIT_REASON_KICK_BY_HOST = 2;static final intQUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10;static final intQUIT_REASON_KICK_BY_PLAY = 9; -
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<PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason>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.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
QUIT_REASON_INVALID
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_INVALIDQUIT_REASON_INVALID = 0; -
QUIT_REASON_HOST_NO_OTHER_PLAYER
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_HOST_NO_OTHER_PLAYERQUIT_REASON_HOST_NO_OTHER_PLAYER = 1; -
QUIT_REASON_KICK_BY_HOST
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_HOSTQUIT_REASON_KICK_BY_HOST = 2; -
QUIT_REASON_BACK_TO_MY_WORLD
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_BACK_TO_MY_WORLDQUIT_REASON_BACK_TO_MY_WORLD = 3; -
QUIT_REASON_KICK_BY_HOST_LOGOUT
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_HOST_LOGOUTQUIT_REASON_KICK_BY_HOST_LOGOUT = 4; -
QUIT_REASON_KICK_BY_HOST_BLOCK
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_HOST_BLOCKQUIT_REASON_KICK_BY_HOST_BLOCK = 5; -
QUIT_REASON_BE_BLOCKED
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_BE_BLOCKEDQUIT_REASON_BE_BLOCKED = 6; -
QUIT_REASON_KICK_BY_HOST_ENTER_HOME
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_HOST_ENTER_HOMEQUIT_REASON_KICK_BY_HOST_ENTER_HOME = 7; -
QUIT_REASON_HOST_SCENE_INVALID
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_HOST_SCENE_INVALIDQUIT_REASON_HOST_SCENE_INVALID = 8; -
QUIT_REASON_KICK_BY_PLAY
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_PLAYQUIT_REASON_KICK_BY_PLAY = 9; -
QUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED
public static final PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason QUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILEDQUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10; -
UNRECOGNIZED
-
-
Field Details
-
QUIT_REASON_INVALID_VALUE
public static final int QUIT_REASON_INVALID_VALUEQUIT_REASON_INVALID = 0;- See Also:
-
QUIT_REASON_HOST_NO_OTHER_PLAYER_VALUE
public static final int QUIT_REASON_HOST_NO_OTHER_PLAYER_VALUEQUIT_REASON_HOST_NO_OTHER_PLAYER = 1;- See Also:
-
QUIT_REASON_KICK_BY_HOST_VALUE
public static final int QUIT_REASON_KICK_BY_HOST_VALUEQUIT_REASON_KICK_BY_HOST = 2;- See Also:
-
QUIT_REASON_BACK_TO_MY_WORLD_VALUE
public static final int QUIT_REASON_BACK_TO_MY_WORLD_VALUEQUIT_REASON_BACK_TO_MY_WORLD = 3;- See Also:
-
QUIT_REASON_KICK_BY_HOST_LOGOUT_VALUE
public static final int QUIT_REASON_KICK_BY_HOST_LOGOUT_VALUEQUIT_REASON_KICK_BY_HOST_LOGOUT = 4;- See Also:
-
QUIT_REASON_KICK_BY_HOST_BLOCK_VALUE
public static final int QUIT_REASON_KICK_BY_HOST_BLOCK_VALUEQUIT_REASON_KICK_BY_HOST_BLOCK = 5;- See Also:
-
QUIT_REASON_BE_BLOCKED_VALUE
public static final int QUIT_REASON_BE_BLOCKED_VALUEQUIT_REASON_BE_BLOCKED = 6;- See Also:
-
QUIT_REASON_KICK_BY_HOST_ENTER_HOME_VALUE
public static final int QUIT_REASON_KICK_BY_HOST_ENTER_HOME_VALUEQUIT_REASON_KICK_BY_HOST_ENTER_HOME = 7;- See Also:
-
QUIT_REASON_HOST_SCENE_INVALID_VALUE
public static final int QUIT_REASON_HOST_SCENE_INVALID_VALUEQUIT_REASON_HOST_SCENE_INVALID = 8;- See Also:
-
QUIT_REASON_KICK_BY_PLAY_VALUE
public static final int QUIT_REASON_KICK_BY_PLAY_VALUEQUIT_REASON_KICK_BY_PLAY = 9;- See Also:
-
QUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED_VALUE
public static final int QUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED_VALUEQUIT_REASON_KICK_BY_ISLAND_PARTY_GALLERY_START_FAILED = 10;- 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
public static PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason 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 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 public static PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason 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 nameNullPointerException- if the argument is null
-
forNumber
public static PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason 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<PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason> 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 PlayerQuitFromMpNotifyOuterClass.PlayerQuitFromMpNotify.QuitReason 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
-