Represents a discrete player action (e.g., "kill").
This class is used to represent a discrete player action (e.g., "kill"). It contains an action, and a collection of key-value pairs of properties that represent the current state of the player.
Nested Class Summary
| class | PlayerGameEvent.Builder | Builder for
PlayerGameEvent. |
|
Inherited Constant Summary
Field Summary
| public static final Creator<PlayerGameEvent> | CREATOR | Required Creator for making this class a
Parcelable. |
Public Method Summary
| String |
getEventName()
Returns the event name.
|
| Bundle |
getEventProperties()
Returns the event properties.
|
| void |
Inherited Method Summary
Fields
public static final Creator<PlayerGameEvent> CREATOR
Required Creator for making this class a Parcelable.
This field is used by the Android system to unmarshal and create new instances of
PlayerGameEvent
from a Parcel.
Public Methods
public String getEventName ()
Returns the event name.
public Bundle getEventProperties ()
Returns the event properties.
public void writeToParcel (Parcel dest, int flags)
Writes the PlayerGameEvent
object to a Parcel.