Unit CastleGooglePlayGames

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

Google Play Game Services integration (TGooglePlayGames).

Uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TGooglePlayGames Google Play Games integration (achievements, leaderboards, save games).

Types

TPlayerBestScoreEvent = procedure (Sender: TObject; const LeaderboardId: string; const Score: Int64) of object;
TSaveGameChoice = (...);
TSaveGameChosenEvent = procedure (Sender: TObject; const Choice: TSaveGameChoice; const SaveGameName: string) of object;
TSaveGameLoadedEvent = procedure (Sender: TObject; const Success: boolean; const Content: string) of object;

Description

Types

TPlayerBestScoreEvent = procedure (Sender: TObject; const LeaderboardId: string; const Score: Int64) of object;

Event for TGooglePlayGames.OnPlayerBestScoreReceived.

TSaveGameChoice = (...);

User choice at "save game" dialog displayed by TGooglePlayGames.ShowSaveGames. Used as a parameter for TGooglePlayGames.OnSaveGameChosen event.

Values
  • sgCancel:  
  • sgNew:  
  • sgExisting:  
TSaveGameChosenEvent = procedure (Sender: TObject; const Choice: TSaveGameChoice; const SaveGameName: string) of object;

Event for TGooglePlayGames.OnSaveGameChosen.

TSaveGameLoadedEvent = procedure (Sender: TObject; const Success: boolean; const Content: string) of object;

Event for TGooglePlayGames.OnSaveGameLoaded.

Parameters
Success
Whether we loaded the savegame successfully.
Content
The savegame content, if Success. If not Success, this is the error message.

Generated by PasDoc 0.14.0.