GooglePlayGames. BasicApi. Events. IEventsClient
An interface for interacting with events.
Summary
See online documentation for Events for more information.
All callbacks in this interface must be invoked on the game thread.
Public functions |
|
---|---|
FetchAllEvents(DataSource source, Action< ResponseStatus, List< IEvent >> callback)
|
void
Fetches all events defined for this game.
|
FetchEvent(DataSource source, string eventId, Action< ResponseStatus, IEvent > callback)
|
void
Fetches the event with the specified ID.
|
IncrementEvent(string eventId, uint stepsToIncrement)
|
void
Increments the indicated event.
|
Public functions
FetchAllEvents
void FetchAllEvents( DataSource source, Action< ResponseStatus, List< IEvent >> callback )
Fetches all events defined for this game.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
FetchEvent
void FetchEvent( DataSource source, string eventId, Action< ResponseStatus, IEvent > callback )
Fetches the event with the specified ID.
Details | |||||||
---|---|---|---|---|---|---|---|
Parameters |
|
IncrementEvent
void IncrementEvent( string eventId, uint stepsToIncrement )
Increments the indicated event.
Details | |||||
---|---|---|---|---|---|
Parameters |
|