public KSPAddonFixedCLS(KSPAddon.Startup startup, bool once, Type type) : base(startup, once) { this.type = type; }
public _KSPAddonImproved(KSPAddon.Startup startup, bool once, Type type) : base(startup, once) { this.type = type; }
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);