GameolivePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • GameolivePlatform
Implementers

Constructors

GameolivePlatform()
Constructs a GameolivePlatform.

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

acknowledgePlayerAchievement(String playerToken, String playerUid, String achievementId, [Config? config]) → Future<List<PlayerAchievement>>
depositToPlayerAccount(String playerUid, Transaction transaction, Config config) → Future<PlayerBalance>
getAvailableBadges([Config? config]) → Future<BadgesResponse>
getBadgesEarnedByPlayer(String playerUid, PlayMode playMode, [Config? config]) → Future<List<String>>
getGames(int limit, int offset, String cacheKey, [Config? config]) → Future<GamesResponse>
getGameUrl(LaunchConfig? gameLaunchConfig) → Future<String>
getLeaderBoard(String playerToken, String playerUid, String challengeId, int limit, [Config? config]) → Future<List<Leader>>
getPlatformVersion() → Future<String?>
getPlayerAccountHistory(String playerUid, PlayMode playMode, int offset, int limit, Config config) → Future<TransactionsResponse>
getPlayerAchievements(String playerToken, String playerUid, [Config? config]) → Future<List<PlayerAchievement>>
getPlayerBalance(String playerToken, String playerUid, PlayMode playMode, Config config) → Future<PlayerBalance>
getPlayerToken(String playerUid, PlayMode playMode, [Config? config]) → Future<String>
init(Config config) → Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyPlayerAction(String playerToken, String playerUid, String action, String value, [Config? config]) → Future<List<PlayerAchievement>>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance ↔ GameolivePlatform
The default instance of GameolivePlatform to use.
getter/setter pair