public void hSaveDone(ContainerContext storage, SubmitDataMapUpdatesAsyncOp op) { bool ok = op.Success && op.Status == ConnectedStorageStatus.SUCCESS; Debug.LogError(key + " [" + (ok ? "PASS" : "FAIL") + "] SAVE: Completed RESULT: [" + op.Result + "] STATUS: [" + op.Status.ToString() + "]\n"); if (op.Success) { //Debug.LogError("["+_key+"]. SAVED: "+_value); if (ok) { if (OnSaveDone != null) { OnSaveDone(this); } } } else { CheckQuota(); if (OnSaveError != null) { OnSaveError(this); } } }
void hDeleteDone(ContainerContext storage, SubmitDataMapUpdatesAsyncOp op) { bool ok = op.Success && op.Status == ConnectedStorageStatus.SUCCESS; Debug.LogError(key + " [" + (ok ? "PASS" : "FAIL") + "] DELETE: Completed RESULT: [" + op.Result + "] STATUS: [" + op.Status.ToString() + "]\n"); if (OnDeleteDone != null) { OnDeleteDone(this); } }