Difference between revisions of "FBInstant.context"
Line 6: | Line 6: | ||
Contains functions and properties related to the current game context.<br /></translate> | Contains functions and properties related to the current game context.<br /></translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | [[FBInstant.context.chooseAsync]] | + | [[FBInstant.context.chooseAsync]] ''<translate>Opens a context selection dialog for the player.</translate>''<br/> |
− | [[FBInstant.context.createAsync]] | + | [[FBInstant.context.createAsync]] ''<translate>Attempts to create or switch into a context between a specified player and the current player.</translate>''<br/> |
− | [[FBInstant.context.getID]] | + | [[FBInstant.context.getID]] ''<translate>A unique identifier for the current game context.</translate>''<br/> |
− | [[FBInstant.context.getPlayersAsync]] | + | [[FBInstant.context.getPlayersAsync]] ''<translate>Gets an table of #contextplayer objects containing information about active players.</translate>''<br/> |
− | [[FBInstant.context.getType]] | + | [[FBInstant.context.getType]] ''<translate>The type of the current game context.</translate>''<br/> |
− | [[FBInstant.context.isSizeBetween]] | + | [[FBInstant.context.isSizeBetween]] ''<translate>Determines whether the number of participants in the current game context is between a given minimum and maximum.</translate>''<br/> |
− | [[FBInstant.context.switchAsync]] | + | [[FBInstant.context.switchAsync]] ''<translate>Request a switch into a specific context.</translate>''<br/> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:31, 23 August 2018
Supported platforms: html5
Available since: Gideros 2018.3
Description
Contains functions and properties related to the current game context.
MethodsFBInstant.context.chooseAsync Opens a context selection dialog for the player. |
EventsConstants |