public override void ReportProgress(ReportProgressCompletion _onCompletion) { base.ReportProgress(_onCompletion); // Make call for reporting EditorGameCenter.Instance.ReportProgress(this); }
public override void ReportProgress(ReportProgressCompletion _onCompletion) { base.ReportProgress(_onCompletion); // Native method call reportProgress(GetAchievementInfoJSONObject().ToJSON(), PercentageCompleted); }
public override void ReportProgress (ReportProgressCompletion _onCompletion) { base.ReportProgress (_onCompletion); if (Description == null) return; EditorGameCenter.Instance.ReportProgress(this); }
public override void ReportProgress(ReportProgressCompletion _onCompletion) { base.ReportProgress(_onCompletion); if (Description == null) { return; } EditorGameCenter.Instance.ReportProgress(this); }
public override void ReportProgress(ReportProgressCompletion _onCompletion) { base.ReportProgress(_onCompletion); if (Description == null) { return; } // Native method call reportProgress(GetAchievementInfoJSONObject().ToJSON(), m_percentComplete); }
/// <summary> /// Reports the player’s progress of this <see cref="VoxelBusters.NativePlugins.Achievement"/>. /// </summary> /// <param name="_onCompletion">Callback to be called when operation is completed.</param> public virtual void ReportProgress(ReportProgressCompletion _onCompletion) { // Cache callback ReportProgressFinishedEvent = _onCompletion; // Check if its valid request if (Description == null) { DebugPRO.Console.LogError(Constants.kDebugTag, string.Format("[GameServices] Report progress failed. Achievement description with id={0} couldnt be found.", Identifier)); ReportProgressFinished(false, "The requested operation could not be completed because description for this achievement was not found."); return; } }
/// <summary> /// Reports the progress of this achievement. /// </summary> /// <param name="_onCompletion">Callback that will be called after operation is completed.</param> public virtual void ReportProgress(ReportProgressCompletion _onCompletion) { // Cache callback ReportProgressFinishedEvent = _onCompletion; }
/// <summary> /// Reports the player’s progress of this <see cref="VoxelBusters.NativePlugins.Achievement"/>. /// </summary> /// <param name="_onCompletion">Callback to be called when operation is completed.</param> public virtual void ReportProgress (ReportProgressCompletion _onCompletion) { // Cache callback ReportProgressFinishedEvent = _onCompletion; // Check if its valid request if (Description == null) { DebugPRO.Console.LogError(Constants.kDebugTag, string.Format("[GameServices] Report progress failed. Achievement description with id={0} couldnt be found.", Identifier)); ReportProgressFinished(false, "The requested operation could not be completed because description for this achievement was not found."); return; } }
public override void ReportProgress (ReportProgressCompletion _onCompletion) { base.ReportProgress (_onCompletion); if (Description == null) return; // Native method call reportProgress(GetAchievementInfoJSONObject().ToJSON(), m_percentComplete); }