예제 #1
0
        public static Pvr_Request <Pvr_AchievementDefinitionList> GetNextAchievementDefinitionListPage(Pvr_AchievementDefinitionList list)
        {
            if (!list.HasNextPage)
            {
                Debug.LogWarning("Platform.GetNextAchievementDefinitionListPage: List has no next page");
                return(null);
            }

            if (AchievementCore.IsInitialized())
            {
                return(new Pvr_Request <Pvr_AchievementDefinitionList>(
                           Pvr_AchievementAPI.pvr_HTTP_GetWithMessageType(
                               list.NextUrl,
                               Pvr_Message.MessageType.Achievements_GetNextAchievementDefinitionArrayPage
                               )
                           ));
            }

            return(null);
        }
예제 #2
0
 public static void UnRegisterNetwork()
 {
     Pvr_AchievementAPI.UnRegisterNetwork();
 }
예제 #3
0
 public Pvr_AchievementUpdate(AndroidJavaObject msg)
 {
     JustUnlocked = Pvr_AchievementAPI.pvr_AchievementUpdate_GetJustUnlocked(msg);
     Name         = Pvr_AchievementAPI.pvr_AchievementUpdate_GetName(msg);
 }
예제 #4
0
 protected override string GetDataFromMessage(AndroidJavaObject msg)
 {
     return(Pvr_AchievementAPI.pvr_Message_GetString(msg));
 }