Difference between revisions of "User:Glyph/sandbox"

From Kerbal Space Program Wiki
Jump to: navigation, search
Line 89: Line 89:
 
{{FieldsEnd}}
 
{{FieldsEnd}}
  
{{MethodsStart}}
+
{{Methods|
 
{{Method
 
{{Method
 
   |returntype=constructor
 
   |returntype=constructor
Line 181: Line 181:
 
   |desc=?
 
   |desc=?
 
}}
 
}}
{{MethodsEnd}}
+
}}

Revision as of 03:13, 13 October 2015

PartModule Class

Inherits Implements
MonoBehaviour

    Properties

    The following are public properties available in Glyph/sandbox.

    Signature Description
    BaseActionList Actions { get; }  ?
    int ClassID { get; }  ?
    string ClassName { get; }  ?
    BaseEventList Events { get; }  ?
    BaseFieldList Fields { get; }  ?
    string GUIName { get; }  ?
    Part part { get; set; }  ?
    Vessel vessel { get; }  ?

    Fields

    The following is a list of publically-accessible fields in Glyph/sandbox. This includes protected items, which can be accessed by subclasses.

    Signature Description
    bool isEnabled  ?
    string moduleName  ?
    ProtoPartModuleSnapshot snapshot  ?
    enum StartState { None, Editor, PreLaunch, Landed = 4, Docked = 8, Flying = 16, Splashed = 32, SubOrbital = 64, Orbital = 128 }

    Methods

    The following are methods included in Glyph/sandbox.

    Signature Description
    constructor PartModule()  ?
    virtual string GetInfo()  ?
    void Load(ConfigNode node)  ?
    virtual void OnActive()  ?
    virtual void OnAwake()  ?
    virtual void OnFixedUpdate()  ?
    virtual void OnInactive()  ?
    virtual void OnInitialize()  ?
    virtual void OnLoad(ConfigNode node)  ?
    virtual void OnSave(ConfigNode node)  ?
    virtual void OnStart(StartState state)  ?
    virtual void OnUpdate()  ?
    void Save(ConfigNode node)  ?