C# Класс Fungus.SaveHistory

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddSavePoint ( string savePointKey, string savePointDescription ) : void

Creates a new Save Point using a key and description, and adds it to the Save History.

Clear ( ) : void

Clears all Save Points.

ClearRewoundSavePoints ( ) : void

Clears rewound Save Points only. The main Save Point list is not changed.

FastForward ( ) : void

Fast forwards to the next Save Point in the Save History. The most recently rewound Save Point is moved back to the main list of save points.

GetDebugInfo ( ) : string
LoadLatestSavePoint ( ) : void

Loads the latest Save Point.

Rewind ( ) : void

Rewinds to the previous Save Point in the Save History. The latest Save Point is moved to a seperate list of rewound save points.

Описание методов

AddSavePoint() публичный Метод

Creates a new Save Point using a key and description, and adds it to the Save History.
public AddSavePoint ( string savePointKey, string savePointDescription ) : void
savePointKey string
savePointDescription string
Результат void

Clear() публичный Метод

Clears all Save Points.
public Clear ( ) : void
Результат void

ClearRewoundSavePoints() публичный Метод

Clears rewound Save Points only. The main Save Point list is not changed.
public ClearRewoundSavePoints ( ) : void
Результат void

FastForward() публичный Метод

Fast forwards to the next Save Point in the Save History. The most recently rewound Save Point is moved back to the main list of save points.
public FastForward ( ) : void
Результат void

GetDebugInfo() публичный Метод

public GetDebugInfo ( ) : string
Результат string

LoadLatestSavePoint() публичный Метод

Loads the latest Save Point.
public LoadLatestSavePoint ( ) : void
Результат void

Rewind() публичный Метод

Rewinds to the previous Save Point in the Save History. The latest Save Point is moved to a seperate list of rewound save points.
public Rewind ( ) : void
Результат void