Difference between revisions of "FBInstant.context.getType"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROUP - A facebook group. SOLO - Default context, where the player is the only participant.<br />
 
The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROUP - A facebook group. SOLO - Default context, where the player is the only participant.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(string) = FBInstant.context.getType()
 
(string) = FBInstant.context.getType()
 
</source>
 
</source>

Revision as of 14:26, 13 July 2023


Available since: Gideros 2018.3
Class: Context

Description


The type of the current game context. POST - A facebook post. THREAD - A messenger thread. GROUP - A facebook group. SOLO - Default context, where the player is the only participant.

<syntaxhighlight lang="lua"> (string) = FBInstant.context.getType() </source>

Return values

Returns (string) Type of the current game context.