Beispiel #1
0
            internal NativeQuest AcceptedQuest()
            {
                if (!RequestSucceeded())
                {
                    return(null);
                }
                NativeQuest nativeQuest = new NativeQuest(GooglePlayGames.Native.Cwrapper.QuestManager.QuestManager_QuestUIResponse_GetAcceptedQuest(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;
                }
            }