FBInstant.context: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
<!-- GIDEROSOBJ:Context --> | |||
'''<translate>Supported platforms</translate>:''' [[File:Platform html5.png]]<br/> | '''<translate>Supported platforms</translate>:''' [[File:Platform html5.png]]<br/> | ||
'''<translate>Available since</translate>:''' Gideros 2018.3<br/> | '''<translate>Available since</translate>:''' Gideros 2018.3<br/> | ||
| Line 8: | Line 9: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
[[Special:MyLanguage/FBInstant.context.chooseAsync|FBInstant.context.chooseAsync]] ''<translate>Opens a context selection dialog for the player.</translate>''<br/> | [[Special:MyLanguage/FBInstant.context.chooseAsync|FBInstant.context.chooseAsync]] ''<translate>Opens a context selection dialog for the player.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.chooseAsync --> | ||
[[Special:MyLanguage/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/> | [[Special:MyLanguage/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/><!-- GIDEROSMTD:FBInstant.context.createAsync --> | ||
[[Special:MyLanguage/FBInstant.context.getID|FBInstant.context.getID]] ''<translate>A unique identifier for the current game context.</translate>''<br/> | [[Special:MyLanguage/FBInstant.context.getID|FBInstant.context.getID]] ''<translate>A unique identifier for the current game context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.getID --> | ||
[[Special:MyLanguage/FBInstant.context.getPlayersAsync|FBInstant.context.getPlayersAsync]] ''<translate>Gets an table of #contextplayer objects containing information about active players.</translate>''<br/> | [[Special:MyLanguage/FBInstant.context.getPlayersAsync|FBInstant.context.getPlayersAsync]] ''<translate>Gets an table of #contextplayer objects containing information about active players.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.getPlayersAsync --> | ||
[[Special:MyLanguage/FBInstant.context.getType|FBInstant.context.getType]] ''<translate>The type of the current game context.</translate>''<br/> | [[Special:MyLanguage/FBInstant.context.getType|FBInstant.context.getType]] ''<translate>The type of the current game context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.getType --> | ||
[[Special:MyLanguage/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/> | [[Special:MyLanguage/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/><!-- GIDEROSMTD:FBInstant.context.isSizeBetween --> | ||
[[Special:MyLanguage/FBInstant.context.switchAsync|FBInstant.context.switchAsync]] ''<translate>Request a switch into a specific context.</translate>''<br/> | [[Special:MyLanguage/FBInstant.context.switchAsync|FBInstant.context.switchAsync]] ''<translate>Request a switch into a specific context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.switchAsync --> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
|} | |} | ||
Revision as of 13:56, 31 August 2018
Supported platforms: ![]()
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 |