|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gbanga.api.Entity
org.gbanga.api.Gbangoo
public class Gbangoo
A Gbangoo is a virtual/digital citizen of the Gbanga world.
For the JSON object serialization, the field names are used. Eg.
{
id: 34734,
name: "some value",
image: 8373
}
Fields annotated with PrimaryKey are used, if not the whole object is sent. HideIfNull indicates that the field is not sent at all, if the value is not set.
| Field Summary | |
|---|---|
Cell |
atCell
The current location of the Gbangoo (if not in a Pocket). |
int[] |
characteristics
Characteristics of the Gbangoo. |
long |
id
The unique identifier for this Gbangoo. |
int |
image
The image id for this Gbangoo. |
byte |
inActivity
The current activity preoccupied with. |
java.util.HashMap<java.lang.String,java.lang.String> |
memory
The personal memory. |
java.lang.String |
name
The screenname. |
Player |
owner
The owning Player. |
int |
tileIndex
The location within the cell specified in @link Gbangoo#atCell. |
| Constructor Summary | |
|---|---|
Gbangoo()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@HideIfNull public Cell atCell
Gbangoo (if not in a Pocket).
public int[] characteristics
Gbangoo.
@PrimaryKey public long id
public int image
public byte inActivity
@HideIfNull public java.util.HashMap<java.lang.String,java.lang.String> memory
public java.lang.String name
public Player owner
Player.
@HideIfEqualsInt(value=-2147483648) public int tileIndex
| Constructor Detail |
|---|
public Gbangoo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||