Exemple #1
0
        protected override object OnExit()
        {
            var data = new Dictionary <string, HashSet <string> >(this.CompletedObjectivesPerWorld);

            if (Main.netMode != NetmodeID.Server)
            {
                ObjectivesAPI.ClearObjectives(false);
            }

            //LogLibraries.Log( "EXIT "+string.Join(", ", data.Select(kv=>kv.Key+":"+string.Join(",",kv.Value))) );
            return(data);
        }
Exemple #2
0
 public static void RemoveObjective(string title, bool forceIncomplete)
 {
     ObjectivesAPI.RemoveObjectiveIf(title, forceIncomplete);
 }