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