Package emu.grasscutter.net.proto
Enum Class GCGPhaseTypeOuterClass.GCGPhaseType
java.lang.Object
java.lang.Enum<GCGPhaseTypeOuterClass.GCGPhaseType>
emu.grasscutter.net.proto.GCGPhaseTypeOuterClass.GCGPhaseType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<GCGPhaseTypeOuterClass.GCGPhaseType>,Constable
- Enclosing class:
- GCGPhaseTypeOuterClass
public static enum GCGPhaseTypeOuterClass.GCGPhaseType
extends Enum<GCGPhaseTypeOuterClass.GCGPhaseType>
implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
GCGPhaseType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionGCG_PHASE_TYPE_DICE = 4;GCG_PHASE_TYPE_DIE = 7;GCG_PHASE_TYPE_DRAW = 2;GCG_PHASE_TYPE_END = 6;GCG_PHASE_TYPE_FIN = 8;GCG_PHASE_TYPE_INVALID = 0;GCG_PHASE_TYPE_MAIN = 5;GCG_PHASE_TYPE_ON_STAGE = 3;GCG_PHASE_TYPE_PRE_MAIN = 9;GCG_PHASE_TYPE_REROLL = 10;GCG_PHASE_TYPE_START = 1; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intGCG_PHASE_TYPE_DICE = 4;static final intGCG_PHASE_TYPE_DIE = 7;static final intGCG_PHASE_TYPE_DRAW = 2;static final intGCG_PHASE_TYPE_END = 6;static final intGCG_PHASE_TYPE_FIN = 8;static final intGCG_PHASE_TYPE_INVALID = 0;static final intGCG_PHASE_TYPE_MAIN = 5;static final intGCG_PHASE_TYPE_ON_STAGE = 3;static final intGCG_PHASE_TYPE_PRE_MAIN = 9;static final intGCG_PHASE_TYPE_REROLL = 10;static final intGCG_PHASE_TYPE_START = 1; -
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<GCGPhaseTypeOuterClass.GCGPhaseType>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 GCGPhaseTypeOuterClass.GCGPhaseType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GCG_PHASE_TYPE_INVALID
GCG_PHASE_TYPE_INVALID = 0; -
GCG_PHASE_TYPE_START
GCG_PHASE_TYPE_START = 1; -
GCG_PHASE_TYPE_DRAW
GCG_PHASE_TYPE_DRAW = 2; -
GCG_PHASE_TYPE_ON_STAGE
GCG_PHASE_TYPE_ON_STAGE = 3; -
GCG_PHASE_TYPE_DICE
GCG_PHASE_TYPE_DICE = 4; -
GCG_PHASE_TYPE_MAIN
GCG_PHASE_TYPE_MAIN = 5; -
GCG_PHASE_TYPE_END
GCG_PHASE_TYPE_END = 6; -
GCG_PHASE_TYPE_DIE
GCG_PHASE_TYPE_DIE = 7; -
GCG_PHASE_TYPE_FIN
GCG_PHASE_TYPE_FIN = 8; -
GCG_PHASE_TYPE_PRE_MAIN
GCG_PHASE_TYPE_PRE_MAIN = 9; -
GCG_PHASE_TYPE_REROLL
GCG_PHASE_TYPE_REROLL = 10; -
UNRECOGNIZED
-
-
Field Details
-
GCG_PHASE_TYPE_INVALID_VALUE
public static final int GCG_PHASE_TYPE_INVALID_VALUEGCG_PHASE_TYPE_INVALID = 0;- See Also:
-
GCG_PHASE_TYPE_START_VALUE
public static final int GCG_PHASE_TYPE_START_VALUEGCG_PHASE_TYPE_START = 1;- See Also:
-
GCG_PHASE_TYPE_DRAW_VALUE
public static final int GCG_PHASE_TYPE_DRAW_VALUEGCG_PHASE_TYPE_DRAW = 2;- See Also:
-
GCG_PHASE_TYPE_ON_STAGE_VALUE
public static final int GCG_PHASE_TYPE_ON_STAGE_VALUEGCG_PHASE_TYPE_ON_STAGE = 3;- See Also:
-
GCG_PHASE_TYPE_DICE_VALUE
public static final int GCG_PHASE_TYPE_DICE_VALUEGCG_PHASE_TYPE_DICE = 4;- See Also:
-
GCG_PHASE_TYPE_MAIN_VALUE
public static final int GCG_PHASE_TYPE_MAIN_VALUEGCG_PHASE_TYPE_MAIN = 5;- See Also:
-
GCG_PHASE_TYPE_END_VALUE
public static final int GCG_PHASE_TYPE_END_VALUEGCG_PHASE_TYPE_END = 6;- See Also:
-
GCG_PHASE_TYPE_DIE_VALUE
public static final int GCG_PHASE_TYPE_DIE_VALUEGCG_PHASE_TYPE_DIE = 7;- See Also:
-
GCG_PHASE_TYPE_FIN_VALUE
public static final int GCG_PHASE_TYPE_FIN_VALUEGCG_PHASE_TYPE_FIN = 8;- See Also:
-
GCG_PHASE_TYPE_PRE_MAIN_VALUE
public static final int GCG_PHASE_TYPE_PRE_MAIN_VALUEGCG_PHASE_TYPE_PRE_MAIN = 9;- See Also:
-
GCG_PHASE_TYPE_REROLL_VALUE
public static final int GCG_PHASE_TYPE_REROLL_VALUEGCG_PHASE_TYPE_REROLL = 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
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<GCGPhaseTypeOuterClass.GCGPhaseType> 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 GCGPhaseTypeOuterClass.GCGPhaseType 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
-