Package emu.grasscutter.net.proto
Enum Class PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason
java.lang.Object
java.lang.Enum<PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason>
emu.grasscutter.net.proto.PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason>,Constable
public static enum PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason
extends Enum<PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
PlayerApplyEnterHomeResultNotify.Reason-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionREASON_HOST_IN_EDIT_MODE = 7;REASON_HOST_IN_MATCH = 4;REASON_OPEN_STATE_NOT_OPEN = 6;REASON_PLAYER_ENTER_OPTION_DIRECT = 2;REASON_PLAYER_ENTER_OPTION_REFUSE = 1;REASON_PLAYER_JUDGE = 0;REASON_PRIOR_CHECK = 8;REASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 5;REASON_SYSTEM_JUDGE = 3; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intREASON_HOST_IN_EDIT_MODE = 7;static final intREASON_HOST_IN_MATCH = 4;static final intREASON_OPEN_STATE_NOT_OPEN = 6;static final intREASON_PLAYER_ENTER_OPTION_DIRECT = 2;static final intREASON_PLAYER_ENTER_OPTION_REFUSE = 1;static final intREASON_PLAYER_JUDGE = 0;static final intREASON_PRIOR_CHECK = 8;static final intREASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 5;static final intREASON_SYSTEM_JUDGE = 3; -
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<PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason>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
-
REASON_PLAYER_JUDGE
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_PLAYER_JUDGEREASON_PLAYER_JUDGE = 0; -
REASON_PLAYER_ENTER_OPTION_REFUSE
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_PLAYER_ENTER_OPTION_REFUSEREASON_PLAYER_ENTER_OPTION_REFUSE = 1; -
REASON_PLAYER_ENTER_OPTION_DIRECT
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_PLAYER_ENTER_OPTION_DIRECTREASON_PLAYER_ENTER_OPTION_DIRECT = 2; -
REASON_SYSTEM_JUDGE
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_SYSTEM_JUDGEREASON_SYSTEM_JUDGE = 3; -
REASON_HOST_IN_MATCH
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_HOST_IN_MATCHREASON_HOST_IN_MATCH = 4; -
REASON_PS_PLAYER_NOT_ACCEPT_OTHERS
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_PS_PLAYER_NOT_ACCEPT_OTHERSREASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 5; -
REASON_OPEN_STATE_NOT_OPEN
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_OPEN_STATE_NOT_OPENREASON_OPEN_STATE_NOT_OPEN = 6; -
REASON_HOST_IN_EDIT_MODE
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_HOST_IN_EDIT_MODEREASON_HOST_IN_EDIT_MODE = 7; -
REASON_PRIOR_CHECK
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason REASON_PRIOR_CHECKREASON_PRIOR_CHECK = 8; -
UNRECOGNIZED
public static final PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason UNRECOGNIZED
-
-
Field Details
-
REASON_PLAYER_JUDGE_VALUE
public static final int REASON_PLAYER_JUDGE_VALUEREASON_PLAYER_JUDGE = 0;- See Also:
-
REASON_PLAYER_ENTER_OPTION_REFUSE_VALUE
public static final int REASON_PLAYER_ENTER_OPTION_REFUSE_VALUEREASON_PLAYER_ENTER_OPTION_REFUSE = 1;- See Also:
-
REASON_PLAYER_ENTER_OPTION_DIRECT_VALUE
public static final int REASON_PLAYER_ENTER_OPTION_DIRECT_VALUEREASON_PLAYER_ENTER_OPTION_DIRECT = 2;- See Also:
-
REASON_SYSTEM_JUDGE_VALUE
public static final int REASON_SYSTEM_JUDGE_VALUEREASON_SYSTEM_JUDGE = 3;- See Also:
-
REASON_HOST_IN_MATCH_VALUE
public static final int REASON_HOST_IN_MATCH_VALUEREASON_HOST_IN_MATCH = 4;- See Also:
-
REASON_PS_PLAYER_NOT_ACCEPT_OTHERS_VALUE
public static final int REASON_PS_PLAYER_NOT_ACCEPT_OTHERS_VALUEREASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 5;- See Also:
-
REASON_OPEN_STATE_NOT_OPEN_VALUE
public static final int REASON_OPEN_STATE_NOT_OPEN_VALUEREASON_OPEN_STATE_NOT_OPEN = 6;- See Also:
-
REASON_HOST_IN_EDIT_MODE_VALUE
public static final int REASON_HOST_IN_EDIT_MODE_VALUEREASON_HOST_IN_EDIT_MODE = 7;- See Also:
-
REASON_PRIOR_CHECK_VALUE
public static final int REASON_PRIOR_CHECK_VALUEREASON_PRIOR_CHECK = 8;- See Also:
-
-
Method Details
-
values
public static PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason[] 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 PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason 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 PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason 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 PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason 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<PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason> 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 PlayerApplyEnterHomeResultNotifyOuterClass.PlayerApplyEnterHomeResultNotify.Reason 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
-