public class PlayerEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static byte |
EVENT_START |
static byte |
EVENT_STOP |
| Constructor and Description |
|---|
PlayerEvent() |
PlayerEvent(long id,
byte event) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getEvent()
Gets player event
|
long |
getId()
Gets data type id
|
void |
setEvent(byte event)
Sets player event
|
void |
setId(long id)
Sets data type id
|
public static final byte EVENT_START
public static final byte EVENT_STOP
public PlayerEvent()
public PlayerEvent(long id,
byte event)
public long getId()
public void setId(long id)
id - data type idpublic byte getEvent()
public void setEvent(byte event)
event - player event (Start and Stop)