Esempio n. 1
0
    public static void Configure()
    {
        Enabled = ServerConfiguration.GetSetting("factions.enabled", false);

        if (Enabled)
        {
            GenericPersistence.Register("Factions", Serialize, Deserialize);
        }
    }
Esempio n. 2
0
    // This does not do the actual work of creating faction stuff, only turns on the persistence.
    public static void Enable()
    {
        if (Enabled)
        {
            return;
        }

        GenericPersistence.Register("Factions", Serialize, Deserialize);
        Enabled = true;
        ServerConfiguration.SetSetting("factions.enabled", true);
    }
Esempio n. 3
0
 public static void Configure()
 {
     GenericPersistence.Register("StealableArtifacts", Serialize, Deserialize);
 }
Esempio n. 4
0
 public static void Configure()
 {
     GenericPersistence.Register("AchievementSystem", Serialize, Deserialize);
 }