Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
IModuleInfo Interface Reference

Implement this on a Part Module to be able to return information to the part list tooltip More...

Inheritance diagram for IModuleInfo:
CompoundParts.CModuleFuelLine CompoundParts.CModuleStrut ModuleDataTransmitter ModuleDecouplerBase ModuleEngines ModuleKerbNetAccess ModulePartVariants ModuleProceduralFairing ModuleWheelBase PartStatsUpgradeModule

Public Member Functions

Callback< Rect > GetDrawModulePanelCallback ()
 Return a method delegate to draw a custom panel, or null if not necessary. More...
 
string GetInfo ()
 return a simple string for the module info. Supports rich-text syntax. More...
 
string GetModuleTitle ()
 Return a string title for your module. More...
 
string GetPrimaryField ()
 Return a string to be displayed in the main information box on the tooltip, or null if nothing is that important to be up there. More...
 

Detailed Description

Implement this on a Part Module to be able to return information to the part list tooltip

Member Function Documentation

Callback<Rect> IModuleInfo.GetDrawModulePanelCallback ( )
string IModuleInfo.GetInfo ( )
string IModuleInfo.GetModuleTitle ( )
string IModuleInfo.GetPrimaryField ( )

Return a string to be displayed in the main information box on the tooltip, or null if nothing is that important to be up there.

Returns

Implemented in PartStatsUpgradeModule, ModuleProceduralFairing, ModuleEngines, ModuleWheelBase, ModuleDataTransmitter, ModulePartVariants, ModuleKerbNetAccess, ModuleDecouplerBase, CompoundParts.CModuleStrut, and CompoundParts.CModuleFuelLine.


The documentation for this interface was generated from the following file: