Ejemplo n.º 1
0
    // Token: 0x06001A13 RID: 6675 RVA: 0x000FE46C File Offset: 0x000FC66C
    public static SchoolSaveData ReadFromGlobals()
    {
        SchoolSaveData schoolSaveData = new SchoolSaveData();

        foreach (int num in SchoolGlobals.KeysOfDemonActive())
        {
            if (SchoolGlobals.GetDemonActive(num))
            {
                schoolSaveData.demonActive.Add(num);
            }
        }
        foreach (int num2 in SchoolGlobals.KeysOfGardenGraveOccupied())
        {
            if (SchoolGlobals.GetGardenGraveOccupied(num2))
            {
                schoolSaveData.gardenGraveOccupied.Add(num2);
            }
        }
        schoolSaveData.kidnapVictim        = SchoolGlobals.KidnapVictim;
        schoolSaveData.population          = SchoolGlobals.Population;
        schoolSaveData.roofFence           = SchoolGlobals.RoofFence;
        schoolSaveData.schoolAtmosphere    = SchoolGlobals.SchoolAtmosphere;
        schoolSaveData.schoolAtmosphereSet = SchoolGlobals.SchoolAtmosphereSet;
        schoolSaveData.scp = SchoolGlobals.SCP;
        return(schoolSaveData);
    }
Ejemplo n.º 2
0
 // Token: 0x06000440 RID: 1088 RVA: 0x0003BFE8 File Offset: 0x0003A3E8
 public static void DeleteAll()
 {
     Globals.DeleteCollection("DemonActive_", SchoolGlobals.KeysOfDemonActive());
     Globals.DeleteCollection("GardenGraveOccupied_", SchoolGlobals.KeysOfGardenGraveOccupied());
     Globals.Delete("KidnapVictim");
     Globals.Delete("Population");
     Globals.Delete("RoofFence");
     Globals.Delete("SchoolAtmosphere");
     Globals.Delete("SchoolAtmosphereSet");
     Globals.Delete("SCP");
 }
Ejemplo n.º 3
0
 // Token: 0x060015F6 RID: 5622 RVA: 0x000BA920 File Offset: 0x000B8B20
 public static void DeleteAll()
 {
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_DemonActive_", SchoolGlobals.KeysOfDemonActive());
     Globals.DeleteCollection("Profile_" + GameGlobals.Profile + "_GardenGraveOccupied_", SchoolGlobals.KeysOfGardenGraveOccupied());
     Globals.Delete("Profile_" + GameGlobals.Profile + "_KidnapVictim");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_Population");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_RoofFence");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_SchoolAtmosphere");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_SchoolAtmosphereSet");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_ReactedToGameLeader");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_HighSecurity");
     Globals.Delete("Profile_" + GameGlobals.Profile + "_SCP");
 }