Unit CastleGameService
Functions and Procedures
Constants
Variables
Description
Integration with game service (Google Play Games or Apple Game Center) (TGameService).
Uses
Overview
Classes, Interfaces, Objects and Records
Name | Description |
---|---|
Class TGameService |
Integration with a game service, that can be used to show achievements, leaderboards, and store save games "in the cloud". |
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; |
TGameServiceStatus = (...); |
Description
Types
TPlayerBestScoreEvent = procedure (Sender: TObject; const LeaderboardId: string; const Score: Int64) of object; |
Event for TGameService.OnPlayerBestScoreReceived. |
TSaveGameChoice = (...); |
User choice at "save game" dialog displayed by TGameService.ShowSaveGames. Used as a parameter for TGameService.OnSaveGameChosen event. Values
|
TSaveGameChosenEvent = procedure (Sender: TObject; const Choice: TSaveGameChoice; const SaveGameName: string) of object; |
Event for TGameService.OnSaveGameChosen. |
TSaveGameLoadedEvent = procedure (Sender: TObject; const Success: boolean; const Content: string) of object; |
Event for TGameService.OnSaveGameLoaded. Parameters
|
TGameServiceStatus = (...); |
Status of TGameService sign-in. Values
|
Generated by PasDoc 0.16.0.