GKSavedGame

Inherits: GKPlayer < RefCounted < Object

Represents a saved game

Description

Instances of this class are returned after you save a game with GKLocalPlayer’s save_game_data, or

after you load the game data with GKLocalPlayer fetch_saved_games

Properties

String

device_name

""

String

name

""

Methods

void

load_data(done: Callable)


Property Descriptions

String device_name = "" 🔗

Name of the saved game.


String name = "" 🔗

The name of the device where the player saved the game.


Method Descriptions

void load_data(done: Callable) 🔗

Loads the game data, and invokes the provided callbacj with the first argument

being a PackedByteArray and the second argument being a Variant encoding an error,

if not-nil it contains a string description of the problem.