/// <summary> /// Load all plugins /// </summary> public static void Load() { if (Directory.Exists("plugins")) { foreach (string file in Directory.GetFiles("plugins", "*.dll")) { Load(file, true); } } else { Directory.CreateDirectory("plugins"); } /* * ===Load Internal Plugins=== */ CTF.Setup temp = new CTF.Setup(); temp.Load(true); Plugin.all_simple.Add(temp); }
/// <summary> /// Load all plugins /// </summary> public static void Load() { if (Directory.Exists("plugins")) { foreach (string file in Directory.GetFiles("plugins", "*.dll")) { Load(file, true); } } else Directory.CreateDirectory("plugins"); /* ===Load Internal Plugins=== */ CTF.Setup temp = new CTF.Setup(); temp.Load(true); Plugin.all_simple.Add(temp); }