Difference between revisions of "Gaming.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 7: Line 7:
 
<syntaxhighlight 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/>

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.