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; } }