Difference between revisions of "Gaming.new"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user 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/>

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.