public KSPAddonFixedCLS(KSPAddon.Startup startup, bool once, Type type)
     : base(startup, once)
 {
     this.type = type;
 }
Exemple #2
0
 public _KSPAddonImproved(KSPAddon.Startup startup, bool once, Type type)
     : base(startup, once)
 {
     this.type = type;
 }
Exemple #3
0
 public static void StartAddon(AssemblyLoader.LoadedAssembly assembly, Type addonType, KSPAddon addon, KSPAddon.Startup startup)
 {
     Method__StartAddon.Invoke(AddonLoader.Instance, new object[] { assembly, addonType, addon, startup });
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="startup">When this addon should be started</param>
 /// <param name="once">Whether KSP should start up your addon just once per game session, or every time
 /// the startup time is reached. If you want your addon to persist forever, even through
 /// scene changes, after being started once, set once to true. call DontDestroyOnLoad(this) in your
 /// Start() function. </param>
 public extern KSPAddon(KSPAddon.Startup startup, bool once);