Difference between revisions of "Gaming"
From GiderosMobile
Line 14: | Line 14: | ||
</ul></translate> | </ul></translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | [[Gaming.new]] | + | [[Gaming.new]] ''<translate></translate>''<br/> |
− | [[Gaming:autoMatch]] | + | [[Gaming:autoMatch]] ''<translate></translate>''<br/> |
− | [[Gaming:deleteState]] | + | [[Gaming:deleteState]] ''<translate></translate>''<br/> |
− | [[Gaming:getAllPlayers]] | + | [[Gaming:getAllPlayers]] ''<translate></translate>''<br/> |
− | [[Gaming:getPlayerId]] | + | [[Gaming:getPlayerId]] ''<translate></translate>''<br/> |
− | [[Gaming:getPlayerInfo]] | + | [[Gaming:getPlayerInfo]] ''<translate></translate>''<br/> |
− | [[Gaming:getPlayerName]] | + | [[Gaming:getPlayerName]] ''<translate></translate>''<br/> |
− | [[Gaming:getPlayerPicture]] | + | [[Gaming:getPlayerPicture]] ''<translate></translate>''<br/> |
− | [[Gaming:getPlayerScore]] | + | [[Gaming:getPlayerScore]] ''<translate></translate>''<br/> |
− | [[Gaming:incrementAchievement]] | + | [[Gaming:incrementAchievement]] ''<translate></translate>''<br/> |
− | [[Gaming:invitePlayers]] | + | [[Gaming:invitePlayers]] ''<translate></translate>''<br/> |
− | [[Gaming:isLoggedIn]] | + | [[Gaming:isLoggedIn]] ''<translate></translate>''<br/> |
− | [[Gaming:joinRoom]] | + | [[Gaming:joinRoom]] ''<translate></translate>''<br/> |
− | [[Gaming:loadAchievements]] | + | [[Gaming:loadAchievements]] ''<translate></translate>''<br/> |
− | [[Gaming:loadPlayerCenteredScores]] | + | [[Gaming:loadPlayerCenteredScores]] ''<translate></translate>''<br/> |
− | [[Gaming:loadScores]] | + | [[Gaming:loadScores]] ''<translate></translate>''<br/> |
− | [[Gaming:loadState]] | + | [[Gaming:loadState]] ''<translate></translate>''<br/> |
− | [[Gaming:login]] | + | [[Gaming:login]] ''<translate></translate>''<br/> |
− | [[Gaming:logout]] | + | [[Gaming:logout]] ''<translate></translate>''<br/> |
− | [[Gaming:reportAchievement]] | + | [[Gaming:reportAchievement]] ''<translate></translate>''<br/> |
− | [[Gaming:reportScore]] | + | [[Gaming:reportScore]] ''<translate></translate>''<br/> |
− | [[Gaming:resolveState]] | + | [[Gaming:resolveState]] ''<translate></translate>''<br/> |
− | [[Gaming:revealAchievement]] | + | [[Gaming:revealAchievement]] ''<translate></translate>''<br/> |
− | [[Gaming:sendTo]] | + | [[Gaming:sendTo]] ''<translate></translate>''<br/> |
− | [[Gaming:sendToAll]] | + | [[Gaming:sendToAll]] ''<translate></translate>''<br/> |
− | [[Gaming:showAchievements]] | + | [[Gaming:showAchievements]] ''<translate></translate>''<br/> |
− | [[Gaming:showInvitations]] | + | [[Gaming:showInvitations]] ''<translate></translate>''<br/> |
− | [[Gaming:showLeaderboard]] | + | [[Gaming:showLeaderboard]] ''<translate></translate>''<br/> |
− | [[Gaming:showWaitingRoom]] | + | [[Gaming:showWaitingRoom]] ''<translate></translate>''<br/> |
− | [[Gaming:updateState]] | + | [[Gaming:updateState]] ''<translate></translate>''<br/> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
[[Event.CONNECTED_TO_ROOM]]<br/> | [[Event.CONNECTED_TO_ROOM]]<br/> |
Revision as of 14:31, 23 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