Player

@Generated
enum Player : ProtocolMessageEnum

Protobuf enum org.emulinker.proto.Player

Entries

Link copied to clipboard
Link copied to clipboard
@Generated
PLAYER_ONE

PLAYER_ONE = 1;

Link copied to clipboard
@Generated
PLAYER_TWO

PLAYER_TWO = 2;

Link copied to clipboard
@Generated
PLAYER_THREE

PLAYER_THREE = 3;

Link copied to clipboard
@Generated
PLAYER_FOUR

PLAYER_FOUR = 4;

Link copied to clipboard
@Generated
UNRECOGNIZED

Properties

Link copied to clipboard
PLAYER_FOUR = 4;
Link copied to clipboard
PLAYER_ONE = 1;
Link copied to clipboard
PLAYER_THREE = 3;
Link copied to clipboard
PLAYER_TWO = 2;
Link copied to clipboard
Note: In some languages having multiple enum values with the same
name causes issues so it's good to prefix with the name.
PLAYER_UNSPECIFIED = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Player
Link copied to clipboard
open fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<Player>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Player
open fun valueOf(value: Int): Player

open fun valueOf(name: String): Player

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<Player>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.