Difference between revisions of "Facebook Instant Games"

From GiderosMobile
(redirecting to new FBInstant page)
(change structures according to antix requests)
Line 1: Line 1:
<div style="column-count:1;-moz-column-count:1;-webkit-column-count:1">
+
__NOTOC__
[[Special:MyLanguage/FBInstant|Initialisation and Core]]<br/>
+
<languages />
[[Special:MyLanguage/Context|Context]]<br/>
+
<!-- GIDEROSOBJ:Facebook Instant Games -->
[[Special:MyLanguage/Payments|Payments]]<br/>
+
'''<translate>Supported platforms</translate>:''' [[File:Platform html5.png]]<br/>
[[Special:MyLanguage/Player|Player]]<br/>
+
'''<translate>Available since</translate>:''' Gideros 2018.3<br/>
</div>
+
 
 +
=== <translate>Description</translate> ===
 +
Adds Facebook Instant Games framework to your project.
 +
 
 +
{|-
 +
| style="width: 50%; vertical-align:top;"|
 +
=== <translate>Methods</translate> ===
 +
[[Special:MyLanguage/FBInstant|FBInstant]] ''<translate>Facebook Instant Games Initialisation and Core.</translate>''<br/><!-- GIDEROSMTD:FBInstant Facebook Instant Games Initialisation and Core. -->
 +
[[Special:MyLanguage/FBInstant.context|FBInstant.context]] ''<translate>Contains functions and properties related to the current game context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context Contains functions and properties related to the current game context. -->
 +
[[Special:MyLanguage/FBInstant.payments|FBInstant.payments]] ''<translate>Contains functions and properties related to payments and purchases of game products.</translate>''<br/><!-- GIDEROSMTD:FBInstant.payments Contains functions and properties related to payments and purchases of game products. -->
 +
[[Special:MyLanguage/FBInstant.player|FBInstant.player]] ''<translate>Contains functions and properties related to the current player.</translate>''<br/><!-- GIDEROSMTD:FBInstant.player Contains functions and properties related to the current player. -->
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
[[Special:MyLanguage/FBInstant.context.chooseAsync|FBInstant.context.chooseAsync]] ''<translate>Opens a context selection dialog for the player.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.chooseAsync(options,callback) Opens a context selection dialog for the player. -->
 +
[[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(id,callback) Attempts to create or switch into a context between a specified player and the current player. -->
 +
[[Special:MyLanguage/FBInstant.context.getID|FBInstant.context.getID]] ''<translate>A unique identifier for the current game context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.getID() A unique identifier for the current game context. -->
 +
[[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(callback) Gets an table of #contextplayer objects containing information about active players. -->
 +
[[Special:MyLanguage/FBInstant.context.getType|FBInstant.context.getType]] ''<translate>The type of the current game context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.getType() The type of the current game context. -->
 +
[[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(minSize,maxSize) Determines whether the number of participants in the current game context is between a given minimum and maximum. -->
 +
[[Special:MyLanguage/FBInstant.context.switchAsync|FBInstant.context.switchAsync]] ''<translate>Request a switch into a specific context.</translate>''<br/><!-- GIDEROSMTD:FBInstant.context.switchAsync(id,callback) Request a switch into a specific context. -->
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
| style="width: 50%; vertical-align:top;"|
 +
=== <translate>Events</translate> ===
 +
=== <translate>Constants</translate> ===
 +
|}

Revision as of 13:34, 9 December 2019


Supported platforms: Platform html5.png
Available since: Gideros 2018.3

Description

Adds Facebook Instant Games framework to your project.

Methods

FBInstant Facebook Instant Games Initialisation and Core.
FBInstant.context Contains functions and properties related to the current game context.
FBInstant.payments Contains functions and properties related to payments and purchases of game products.
FBInstant.player Contains functions and properties related to the current player.




FBInstant.context.chooseAsync Opens a context selection dialog for the player.
FBInstant.context.createAsync Attempts to create or switch into a context between a specified player and the current player.
FBInstant.context.getID A unique identifier for the current game context.
FBInstant.context.getPlayersAsync Gets an table of #contextplayer objects containing information about active players.
FBInstant.context.getType The type of the current game context.
FBInstant.context.isSizeBetween Determines whether the number of participants in the current game context is between a given minimum and maximum.
FBInstant.context.switchAsync Request a switch into a specific context.





Events

Constants