Difference between revisions of "FBInstant.context.getType"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
(string) = FBInstant.context.getType() | (string) = FBInstant.context.getType() | ||
− | </ | + | </syntaxhighlight> |
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (string) <translate>Type of the current game context.</translate><br/> | '''<translate>Returns</translate>''' (string) <translate>Type of the current game context.</translate><br/> | ||
{{FBInstant.context}} | {{FBInstant.context}} |
Latest revision as of 14:27, 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.
(string) = FBInstant.context.getType()
Return values
Returns (string) Type of the current game context.