public class PlayerType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static PlayerType |
GGZ_PLAYER_ADMIN
An admin player is registered and has some special permissions.
|
static PlayerType |
GGZ_PLAYER_BOT
A bot is a special type of player.
|
static PlayerType |
GGZ_PLAYER_GUEST
A guest player is not registered.
|
static PlayerType |
GGZ_PLAYER_HOST
A host player is registered and has some special permissions.
|
static PlayerType |
GGZ_PLAYER_NORMAL
A normal player is registered but has no special permission.
|
static PlayerType |
GGZ_PLAYER_UNKNOWN
This is an unknown type of player.
|
static java.util.ArrayList |
values |
| Modifier and Type | Method and Description |
|---|---|
int |
ordinal() |
java.lang.String |
toString() |
static PlayerType |
valueOf(java.lang.String type_str) |
static PlayerType[] |
values() |
public static final java.util.ArrayList values
public static final PlayerType GGZ_PLAYER_NORMAL
public static final PlayerType GGZ_PLAYER_GUEST
public static final PlayerType GGZ_PLAYER_ADMIN
public static final PlayerType GGZ_PLAYER_HOST
public static final PlayerType GGZ_PLAYER_BOT
public static final PlayerType GGZ_PLAYER_UNKNOWN
public int ordinal()
public static PlayerType[] values()
public java.lang.String toString()
toString in class java.lang.Objectpublic static PlayerType valueOf(java.lang.String type_str)