API:KSPModule

From Kerbal Space Program Wiki
Revision as of 17:13, 22 January 2020 by Rocketdocker (talk | contribs) ({{Orphan}})
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This page is an orphan, as no other articles link to it.


KSPModule is a mostly unused attribute class for listing names of PartModules. Do not use KSPModule; PartModule gives the field PartModule.moduleName to use instead.

// From KSP 1.04 "Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp.dll"
 
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class KSPModule : Attribute
{
    public string guiName;
 
    public KSPModule(string guiName);
}