FBInstant.context.getType: Difference between revisions
From GiderosMobile
No edit summary |
m Text replacement - "</source>" to "</syntaxhighlight>" |
||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2018.3<br/> | <languages /> | ||
=== Description === | '''<translate>Available since</translate>:''' Gideros 2018.3<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Context|Context]]<br/> | |||
=== <translate>Description</translate> === | |||
<translate><br /> | <translate><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 /> | 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> | ||
< | <syntaxhighlight lang="lua"> | ||
(string) = FBInstant.context.getType() | (string) = FBInstant.context.getType() | ||
</ | </syntaxhighlight> | ||
=== Return values === | === <translate>Return values</translate> === | ||
'''Returns''' (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}} | |||
Latest revision as of 13: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.