// Token: 0x06001A1C RID: 6684 RVA: 0x000FF190 File Offset: 0x000FD390
    public static TaskSaveData ReadFromGlobals()
    {
        TaskSaveData taskSaveData = new TaskSaveData();

        foreach (int num in TaskGlobals.KeysOfGuitarPhoto())
        {
            if (TaskGlobals.GetGuitarPhoto(num))
            {
                taskSaveData.guitarPhoto.Add(num);
            }
        }
        foreach (int num2 in TaskGlobals.KeysOfKittenPhoto())
        {
            if (TaskGlobals.GetKittenPhoto(num2))
            {
                taskSaveData.kittenPhoto.Add(num2);
            }
        }
        foreach (int num3 in TaskGlobals.KeysOfHorudaPhoto())
        {
            if (TaskGlobals.GetHorudaPhoto(num3))
            {
                taskSaveData.horudaPhoto.Add(num3);
            }
        }
        foreach (int num4 in TaskGlobals.KeysOfTaskStatus())
        {
            taskSaveData.taskStatus.Add(num4, TaskGlobals.GetTaskStatus(num4));
        }
        return(taskSaveData);
    }
Exemplo n.º 2
0
 public static void DeleteAll()
 {
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_GuitarPhoto_", TaskGlobals.KeysOfGuitarPhoto());
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_KittenPhoto_", TaskGlobals.KeysOfKittenPhoto());
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_HorudaPhoto_", TaskGlobals.KeysOfHorudaPhoto());
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_TaskStatus_", TaskGlobals.KeysOfTaskStatus());
 }
Exemplo n.º 3
0
    // Token: 0x06000750 RID: 1872 RVA: 0x0006F0F4 File Offset: 0x0006D4F4
    public static TaskSaveData ReadFromGlobals()
    {
        TaskSaveData taskSaveData = new TaskSaveData();

        foreach (int num in TaskGlobals.KeysOfKittenPhoto())
        {
            if (TaskGlobals.GetKittenPhoto(num))
            {
                taskSaveData.kittenPhoto.Add(num);
            }
        }
        foreach (int num2 in TaskGlobals.KeysOfTaskStatus())
        {
            taskSaveData.taskStatus.Add(num2, TaskGlobals.GetTaskStatus(num2));
        }
        return(taskSaveData);
    }
Exemplo n.º 4
0
 // Token: 0x060004A7 RID: 1191 RVA: 0x0003CC7F File Offset: 0x0003B07F
 public static void DeleteAll()
 {
     Globals.DeleteCollection("KittenPhoto_", TaskGlobals.KeysOfKittenPhoto());
     Globals.DeleteCollection("TaskStatus_", TaskGlobals.KeysOfTaskStatus());
 }