Difference between revisions of "Gaming"
From GiderosMobile
Line 2: | Line 2: | ||
'''Supported platforms:''' android, ios<br/> | '''Supported platforms:''' android, ios<br/> | ||
'''Available since:''' Gideros 2012.09<br/> | '''Available since:''' Gideros 2012.09<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate><br /> | <translate><br /> | ||
The [[Special:MyLanguage/Gaming|Gaming]] class is defined in the module "gaming". Therefore, you need to call<br /> | The [[Special:MyLanguage/Gaming|Gaming]] class is defined in the module "gaming". Therefore, you need to call<br /> | ||
Line 15: | Line 15: | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <translate>Methods</translate> === |
[[Special:MyLanguage/Gaming.new|Gaming.new]] <br/> | [[Special:MyLanguage/Gaming.new|Gaming.new]] <br/> | ||
[[Special:MyLanguage/Gaming:autoMatch|Gaming:autoMatch]] <br/> | [[Special:MyLanguage/Gaming:autoMatch|Gaming:autoMatch]] <br/> | ||
Line 47: | Line 47: | ||
[[Special:MyLanguage/Gaming:updateState|Gaming:updateState]] <br/> | [[Special:MyLanguage/Gaming:updateState|Gaming:updateState]] <br/> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
[[Special:MyLanguage/Event.CONNECTED_TO_ROOM|Event.CONNECTED_TO_ROOM]]<br/> | [[Special:MyLanguage/Event.CONNECTED_TO_ROOM|Event.CONNECTED_TO_ROOM]]<br/> | ||
[[Special:MyLanguage/Event.DATA_RECEIVED|Event.DATA_RECEIVED]]<br/> | [[Special:MyLanguage/Event.DATA_RECEIVED|Event.DATA_RECEIVED]]<br/> | ||
Line 83: | Line 83: | ||
[[Special:MyLanguage/Event.STATE_ERROR|Event.STATE_ERROR]]<br/> | [[Special:MyLanguage/Event.STATE_ERROR|Event.STATE_ERROR]]<br/> | ||
[[Special:MyLanguage/Event.STATE_LOADED|Event.STATE_LOADED]]<br/> | [[Special:MyLanguage/Event.STATE_LOADED|Event.STATE_LOADED]]<br/> | ||
− | === Constants === | + | === <translate>Constants</translate> === |
[[Special:MyLanguage/Gaming.ALL_PLAYERS|Gaming.ALL_PLAYERS]]<br/> | [[Special:MyLanguage/Gaming.ALL_PLAYERS|Gaming.ALL_PLAYERS]]<br/> | ||
[[Special:MyLanguage/Gaming.ALL_TIME|Gaming.ALL_TIME]]<br/> | [[Special:MyLanguage/Gaming.ALL_TIME|Gaming.ALL_TIME]]<br/> |
Revision as of 07:28, 24 August 2018
Supported platforms: android, ios
Available since: Gideros 2012.09
Description
The Gaming class is defined in the module "gaming". Therefore, you need to call
require("gaming") before using it. Loading the Gaming module
also creates a global class Gaming.
Currently supports:
- Gaming.new("googleplay") -- Android
- Gaming.new("gamekit") -- iOS