Package emu.grasscutter.net.proto
Enum Class ForwardTypeOuterClass.ForwardType
java.lang.Object
java.lang.Enum<ForwardTypeOuterClass.ForwardType>
emu.grasscutter.net.proto.ForwardTypeOuterClass.ForwardType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ForwardTypeOuterClass.ForwardType>,Constable
- Enclosing class:
- ForwardTypeOuterClass
public static enum ForwardTypeOuterClass.ForwardType
extends Enum<ForwardTypeOuterClass.ForwardType>
implements com.google.protobuf.ProtocolMessageEnum
Name: IHFHAKKFMHGProtobuf enum
ForwardType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFORWARD_TYPE_LOCAL = 0;FORWARD_TYPE_ONLY_SERVER = 7;FORWARD_TYPE_TO_ALL = 1;FORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2;FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8;FORWARD_TYPE_TO_ALL_GUEST = 4;FORWARD_TYPE_TO_HOST = 3;FORWARD_TYPE_TO_PEER = 5;FORWARD_TYPE_TO_PEERS = 6; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFORWARD_TYPE_LOCAL = 0;static final intFORWARD_TYPE_ONLY_SERVER = 7;static final intFORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2;static final intFORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8;static final intFORWARD_TYPE_TO_ALL_GUEST = 4;static final intFORWARD_TYPE_TO_ALL = 1;static final intFORWARD_TYPE_TO_HOST = 3;static final intFORWARD_TYPE_TO_PEER = 5;static final intFORWARD_TYPE_TO_PEERS = 6; -
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<ForwardTypeOuterClass.ForwardType>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 ForwardTypeOuterClass.ForwardType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORWARD_TYPE_LOCAL
FORWARD_TYPE_LOCAL = 0; -
FORWARD_TYPE_TO_ALL
FORWARD_TYPE_TO_ALL = 1; -
FORWARD_TYPE_TO_ALL_EXCEPT_CUR
FORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2; -
FORWARD_TYPE_TO_HOST
FORWARD_TYPE_TO_HOST = 3; -
FORWARD_TYPE_TO_ALL_GUEST
FORWARD_TYPE_TO_ALL_GUEST = 4; -
FORWARD_TYPE_TO_PEER
FORWARD_TYPE_TO_PEER = 5; -
FORWARD_TYPE_TO_PEERS
FORWARD_TYPE_TO_PEERS = 6; -
FORWARD_TYPE_ONLY_SERVER
FORWARD_TYPE_ONLY_SERVER = 7; -
FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR
FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8; -
UNRECOGNIZED
-
-
Field Details
-
FORWARD_TYPE_LOCAL_VALUE
public static final int FORWARD_TYPE_LOCAL_VALUEFORWARD_TYPE_LOCAL = 0;- See Also:
-
FORWARD_TYPE_TO_ALL_VALUE
public static final int FORWARD_TYPE_TO_ALL_VALUEFORWARD_TYPE_TO_ALL = 1;- See Also:
-
FORWARD_TYPE_TO_ALL_EXCEPT_CUR_VALUE
public static final int FORWARD_TYPE_TO_ALL_EXCEPT_CUR_VALUEFORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2;- See Also:
-
FORWARD_TYPE_TO_HOST_VALUE
public static final int FORWARD_TYPE_TO_HOST_VALUEFORWARD_TYPE_TO_HOST = 3;- See Also:
-
FORWARD_TYPE_TO_ALL_GUEST_VALUE
public static final int FORWARD_TYPE_TO_ALL_GUEST_VALUEFORWARD_TYPE_TO_ALL_GUEST = 4;- See Also:
-
FORWARD_TYPE_TO_PEER_VALUE
public static final int FORWARD_TYPE_TO_PEER_VALUEFORWARD_TYPE_TO_PEER = 5;- See Also:
-
FORWARD_TYPE_TO_PEERS_VALUE
public static final int FORWARD_TYPE_TO_PEERS_VALUEFORWARD_TYPE_TO_PEERS = 6;- See Also:
-
FORWARD_TYPE_ONLY_SERVER_VALUE
public static final int FORWARD_TYPE_ONLY_SERVER_VALUEFORWARD_TYPE_ONLY_SERVER = 7;- See Also:
-
FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR_VALUE
public static final int FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR_VALUEFORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8;- 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<ForwardTypeOuterClass.ForwardType> 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 ForwardTypeOuterClass.ForwardType 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
-