Adventure Creator  1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
AC.SaveOperation Class Reference
Inheritance diagram for AC.SaveOperation:

Public Member Functions

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

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 
)

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