LS2:LavishScript2.Module (Type)

From ismods.com: dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
(Redirected from LS2:LS2.Module (Type))
Jump to: navigation, search

A LavishScript2.Module describes an available Module.

C# Declaration

 namespace LavishScript2
 {
   public class Module
   {
       public string Name { get; }
       public string Filename { get; }
       public bool IsStarted { get; }

       public void Start();
       public void Start(params object[] parameters_to_module_init);
       public void Stop();

       public static Module Register(string module_name, string file_name);
       public static Module Get(string name);
       public static void Unregister(string module_name);

       public static Module[] AllModules { get; }
   }
 }