EventsClient class abstract

Provides APIs related to event management, such as submitting event data and obtaining the event data of the current player.

Constructors

EventsClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getEventList(bool forceReload) Future<List<GameEvent>>
Obtains all event data of the current player.
getEventListByIds(bool forceReload, {List<String>? eventIds}) Future<List<GameEvent>>
Obtains the event data of the current player by event ID.
grow(String eventId, int growAmount) Future<void>
Submits the event data of the current player.