internal NativeQuest AcceptedQuest()
 {
     if (this.RequestSucceeded())
     {
         NativeQuest quest = new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_QuestUIResponse_GetAcceptedQuest(base.SelfPtr()));
         if (quest.Valid())
         {
             return(quest);
         }
         quest.Dispose();
     }
     return(null);
 }
Beispiel #2
0
            internal NativeQuest AcceptedQuest()
            {
                if (!this.RequestSucceeded())
                {
                    return((NativeQuest)null);
                }
                NativeQuest nativeQuest = new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_QuestUIResponse_GetAcceptedQuest(this.SelfPtr()));

                if (nativeQuest.Valid())
                {
                    return(nativeQuest);
                }
                nativeQuest.Dispose();
                return((NativeQuest)null);
            }
Beispiel #3
0
            internal NativeQuest Quest()
            {
                if (!RequestSucceeded())
                {
                    return(null);
                }
                NativeQuest nativeQuest = new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_ClaimMilestoneResponse_GetQuest(SelfPtr()));

                if (nativeQuest.Valid())
                {
                    return(nativeQuest);
                }
                nativeQuest.Dispose();
                return(null);
            }
            internal NativeQuest Quest()
            {
                if (!RequestSucceeded())
                {
                    return(null);
                }

                var quest = new NativeQuest(C.QuestManager_ClaimMilestoneResponse_GetQuest(SelfPtr()));

                if (quest.Valid())
                {
                    return(quest);
                }
                else
                {
                    quest.Dispose();
                    return(null);
                }
            }
            internal NativeQuest AcceptedQuest()
            {
                if (!RequestSucceeded())
                {
                    return(null);
                }

                var quest = new NativeQuest(
                    C.QuestManager_QuestUIResponse_GetAcceptedQuest(SelfPtr()));

                if (quest.Valid())
                {
                    return(quest);
                }
                else
                {
                    quest.Dispose();
                    return(null);
                }
            }
            internal NativeQuest AcceptedQuest()
            {
                if (!RequestSucceeded())
                {
                    return null;
                }

                var quest = new NativeQuest(
                            C.QuestManager_QuestUIResponse_GetAcceptedQuest(SelfPtr()));

                if (quest.Valid())
                {
                    return quest;
                }
                else
                {
                    quest.Dispose();
                    return null;
                }
            }
            internal NativeQuest Quest()
            {
                if (!RequestSucceeded())
                {
                    return null;
                }

                var quest = new NativeQuest(C.QuestManager_ClaimMilestoneResponse_GetQuest(SelfPtr()));

                if (quest.Valid())
                {
                    return quest;
                }
                else
                {
                    quest.Dispose();
                    return null;
                }
            }