Inheritance: System.DisposableObject
Ejemplo n.º 1
0
 public ChimeraGameStateStore(string storageFile, BackendConnection backendConnection, Dictionary<string, object> initialGameState)
 {
     _storageFile = storageFile;
     _manifestFile = storageFile + ".manifest";
     _connection = backendConnection;
     _remoteGameState = initialGameState;
 }
Ejemplo n.º 2
0
 protected override IEnumerator DoExecuteCoroutine(TaskExecutionContext context, BackendConnection connection)
 {
     PSDebug.Log("Execute BackendUpdateTask");
     yield return connection.DoPostData(
     connection.UserAction("update"),
     _serializedGameState,
     context.CancellationToken,
     false
     );
 }
Ejemplo n.º 3
0
 public RemoteGameStateStore(BackendConnection backendConnection, Dictionary<string, object> initialGameState)
 {
     _connection = backendConnection;
     _gameState = initialGameState;
 }