Package | com.myflashlab.air.extensions.googleGames |
Class | public class Players |
Inheritance | Players flash.events.EventDispatcher |
Property | Defined By | ||
---|---|---|---|
player : Player [read-only]
loads the current signed-in Player. | Players |
Method | Defined By | ||
---|---|---|---|
loadMoreRecentlyPlayedWithPlayers($pageSize:int, $callback:Function):void
loads an Array of Player instances that represents players the user has interacted with recently, starting
with the most recent. | Players | ||
loadPlayerStats($forceReload:Boolean, $callback:Function):void
loads an instance of PlayerStats for the currently signed-in player and game
| Players | ||
loadRecentlyPlayedWithPlayers($pageSize:int, $forceReload:Boolean, $callback:Function):void
loads an Array of Player instances that represents players the user has interacted with recently, starting
with the most recent. | Players |
player | property |
player:Player
[read-only] loads the current signed-in Player.
public function get player():Player
loadMoreRecentlyPlayedWithPlayers | () | method |
public function loadMoreRecentlyPlayedWithPlayers($pageSize:int, $callback:Function):void
loads an Array of Player instances that represents players the user has interacted with recently, starting with the most recent.
Parameters
$pageSize:int | |
$callback:Function — Expects one param as Array. if the Array.length less than 1 means there are no players to load
|
loadPlayerStats | () | method |
public function loadPlayerStats($forceReload:Boolean, $callback:Function):void
loads an instance of PlayerStats for the currently signed-in player and game
Parameters
$forceReload:Boolean | |
$callback:Function — Expects two params, stats as PlayerStats and err as Error
|
loadRecentlyPlayedWithPlayers | () | method |
public function loadRecentlyPlayedWithPlayers($pageSize:int, $forceReload:Boolean, $callback:Function):void
loads an Array of Player instances that represents players the user has interacted with recently, starting with the most recent.
Parameters
$pageSize:int | |
$forceReload:Boolean | |
$callback:Function — Expects one param as Array. if the Array.length less than 1 means there are no
players to load
|