Moved SaveGameStatus to seperate file, guarded against null callbacks and added documentation

This commit is contained in:
Alexander Qvist-Hellum
2017-07-07 00:34:45 +02:00
parent 1251b945bc
commit 8ab16c3d30
6 changed files with 37 additions and 14 deletions

View File

@@ -25,6 +25,10 @@ namespace Torch.API
bool IsOnGameThread();
void Start();
void Stop();
/// <summary>
/// Initializes a save of the game.
/// </summary>
/// <param name="callerId">Id of the player who initiated the save.</param>
void Save(long callerId);
void Init();
T GetManager<T>() where T : class, IManager;