|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectggz.common.PlayerType
public class PlayerType
A player type. The server will tell the client the type of each player.
Field Summary | |
---|---|
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
|
Method Summary | |
---|---|
int |
ordinal()
|
java.lang.String |
toString()
|
static PlayerType |
valueOf(java.lang.String type_str)
|
static PlayerType[] |
values()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public int ordinal()
public static PlayerType[] values()
public java.lang.String toString()
toString
in class java.lang.Object
public static PlayerType valueOf(java.lang.String type_str)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |