Difference between revisions of "Gaming.new"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Currently supports 'googleplay' for Android and 'gamekit' for iOS.</translate>
 
<translate>Currently supports 'googleplay' for Android and 'gamekit' for iOS.</translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(Gaming) = Gaming.new(backend)
 
(Gaming) = Gaming.new(backend)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''backend''': (string) <translate>The name of the backend to create.</translate> <br/>
 
'''backend''': (string) <translate>The name of the backend to create.</translate> <br/>
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''<translate>Returns</translate>''' (Gaming) <translate>The newly created backend.</translate><br/>
 
'''<translate>Returns</translate>''' (Gaming) <translate>The newly created backend.</translate><br/>
 +
 +
{{Gaming}}

Latest revision as of 14:29, 13 July 2023


Available since: Gideros 2012.09
Class: Gaming

Description

Currently supports 'googleplay' for Android and 'gamekit' for iOS.

(Gaming) = Gaming.new(backend)

Parameters

backend: (string) The name of the backend to create.

Return values

Returns (Gaming) The newly created backend.