Difference between revisions of "FBInstant.context.getID"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> A unique identifier for the current game context. This represents a specific context that the g...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(string), = FBInstant.context.getID()
+
(string) = FBInstant.context.getID()
 
</source>
 
</source>
 
'''Returns''' (string) A unique identifier for the current game context.<br/>
 
'''Returns''' (string) A unique identifier for the current game context.<br/>

Revision as of 11:21, 23 August 2018

Available since: Gideros 2018.3

Description


A unique identifier for the current game context. This represents a specific context that the game is being played in (for example, a particular messenger conversation or facebook post). The identifier will be null if game is being played in a solo context. The result is not guaranteed to be correct until FBInstant.startGameAsync has resolved.

(string) = FBInstant.context.getID()

Returns (string) A unique identifier for the current game context.