Adventure Creator 1.84.3
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2024
Loading...
Searching...
No Matches
AC.SaveOperation Class Reference
Inheritance diagram for AC.SaveOperation:

Public Member Functions

void BeginOperation (ref SaveData saveData, SaveFile saveFile, System.Action _onComplete)
 Begins a new save operation.
bool Matches (SaveFile saveFile)
 Checks if a given SaveFile class matches with the one this operation is handling.

Detailed Description

This class gathers save data and sends it to the SaveFileHandler for file-writing - using threading if supported.

Member Function Documentation

◆ BeginOperation()

void AC.SaveOperation.BeginOperation ( ref SaveData saveData,
SaveFile saveFile,
System.Action _onComplete )

Begins a new save operation.

Parameters
saveDataThe SaveData class, already filled with data that cannot be saved through threading
saveFileThe SaveFile to write to

◆ Matches()

bool AC.SaveOperation.Matches ( SaveFile saveFile)

Checks if a given SaveFile class matches with the one this operation is handling.

Parameters
saveFileThe SaveFile class to compare
Returns
True if the SaveFile class matches the one being handled