internal void ClaimMilestone(NativeQuestMilestone milestone, Action <ClaimMilestoneResponse> callback) { C.QuestManager_ClaimMilestone( mServices.AsHandle(), milestone.AsPointer(), InternalClaimMilestoneCallback, Callbacks.ToIntPtr <ClaimMilestoneResponse>( callback, ClaimMilestoneResponse.FromPointer)); }
internal NativeQuestMilestone MilestoneToClaim() { if (this.RequestSucceeded()) { NativeQuestMilestone milestone = new NativeQuestMilestone(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_QuestUIResponse_GetMilestoneToClaim(base.SelfPtr())); if (milestone.Valid()) { return(milestone); } milestone.Dispose(); } return(null); }
internal NativeQuestMilestone ClaimedMilestone() { if (!this.RequestSucceeded()) { return((NativeQuestMilestone)null); } NativeQuestMilestone nativeQuestMilestone = new NativeQuestMilestone(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ClaimMilestoneResponse_GetClaimedMilestone(this.SelfPtr())); if (nativeQuestMilestone.Valid()) { return(nativeQuestMilestone); } nativeQuestMilestone.Dispose(); return((NativeQuestMilestone)null); }
internal NativeQuestMilestone MilestoneToClaim() { if (!RequestSucceeded()) { return(null); } NativeQuestMilestone nativeQuestMilestone = new NativeQuestMilestone(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_QuestUIResponse_GetMilestoneToClaim(SelfPtr())); if (nativeQuestMilestone.Valid()) { return(nativeQuestMilestone); } nativeQuestMilestone.Dispose(); return(null); }
internal NativeQuestMilestone MilestoneToClaim() { if (!RequestSucceeded()) { return(null); } var milestone = new NativeQuestMilestone( C.QuestManager_QuestUIResponse_GetMilestoneToClaim(SelfPtr())); if (milestone.Valid()) { return(milestone); } else { milestone.Dispose(); return(null); } }
internal NativeQuestMilestone MilestoneToClaim() { if (!RequestSucceeded()) { return null; } var milestone = new NativeQuestMilestone( C.QuestManager_QuestUIResponse_GetMilestoneToClaim(SelfPtr())); if (milestone.Valid()) { return milestone; } else { milestone.Dispose(); return null; } }
internal void ClaimMilestone(NativeQuestMilestone milestone, Action<ClaimMilestoneResponse> callback) { C.QuestManager_ClaimMilestone( mServices.AsHandle(), milestone.AsPointer(), InternalClaimMilestoneCallback, Callbacks.ToIntPtr<ClaimMilestoneResponse>( callback, ClaimMilestoneResponse.FromPointer)); }
internal void ClaimMilestone(NativeQuestMilestone milestone, Action <ClaimMilestoneResponse> callback) { GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ClaimMilestone(this.mServices.AsHandle(), milestone.AsPointer(), new GooglePlayGames.Native.Cwrapper.QuestManager.ClaimMilestoneCallback(GooglePlayGames.Native.PInvoke.QuestManager.InternalClaimMilestoneCallback), Callbacks.ToIntPtr <ClaimMilestoneResponse>(callback, new Func <IntPtr, ClaimMilestoneResponse>(ClaimMilestoneResponse.FromPointer))); }
internal void ClaimMilestone(NativeQuestMilestone milestone, Action <ClaimMilestoneResponse> callback) { GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ClaimMilestone(mServices.AsHandle(), milestone.AsPointer(), InternalClaimMilestoneCallback, Callbacks.ToIntPtr(callback, ClaimMilestoneResponse.FromPointer)); }