Difference between revisions of "User:Glyph/sandbox"
From Kerbal Space Program Wiki
Line 98: | Line 98: | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype= | + | |returntype=virtual string |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=GetInfo |
− | |args= | + | |args= |
|desc=? | |desc=? | ||
}} | }} | ||
Line 107: | Line 107: | ||
|returntype=void | |returntype=void | ||
|returndesc= | |returndesc= | ||
− | |name= | + | |name=Load |
|args={{arg|ConfigNode|node}} | |args={{arg|ConfigNode|node}} | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnActive |
|args= | |args= | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnAwake |
|args= | |args= | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnFixedUpdate |
|args= | |args= | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnInactive |
|args= | |args= | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnInitialize |
|args= | |args= | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnLoad |
− | |args= | + | |args={{arg|ConfigNode|node}} |
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnSave |
|args={{arg|ConfigNode|node}} | |args={{arg|ConfigNode|node}} | ||
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnStart |
− | |args={{arg| | + | |args={{arg|StartState|state}} |
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype=virtual | + | |returntype=virtual void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=OnUpdate |
− | |args= | + | |args= |
|desc=? | |desc=? | ||
}} | }} | ||
{{Method | {{Method | ||
− | |returntype= | + | |returntype=void |
|returndesc= | |returndesc= | ||
− | |name= | + | |name=Save |
− | |args= | + | |args={{arg|ConfigNode|node}} |
|desc=? | |desc=? | ||
}} | }} | ||
{{MethodsEnd}} | {{MethodsEnd}} |
Revision as of 20:50, 12 October 2015
Contents
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) | ? |