LS2:LavishScript2.Module (Type)

From dedicated to promoting white hat, EULA-compliant Inner Space and LavishScript mods
Revision as of 22:30, 24 November 2012 by Whiteslax (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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; }