![]() |
Kerbal Space Program
1.12.4
|
Represents the saved state of a part module More...
Public Member Functions | |
| void | AddPartModuleAdjuster (AdjusterPartModuleBase newAdjuster) |
| Call this to add an adjuster to this part module. More... | |
| void | AddPartModuleAdjusterList (List< AdjusterPartModuleBase > moduleAdjusters) |
| Applies the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too. More... | |
| List< T > | GetListOfActiveAdjusters< T > () |
| Get a list of the active adjusters. We load all the applied adjusters, then remove those those will be removed on load. More... | |
| PartModule | Load (Part hostPart, ref int moduleIndex) |
| void | ProtoPartModuleRepair () |
| Call this to repair all the adjusters on this part module that can be repaired. More... | |
| ProtoPartModuleSnapshot (PartModule module) | |
| ProtoPartModuleSnapshot (ConfigNode node) | |
| void | RemovePartModuleAdjuster (AdjusterPartModuleBase removeAdjuster) |
| Call this to remove an adjuster from this part module. More... | |
| void | RemovePartModuleAdjuster (Guid removeAdjusterID) |
| Checks to see if the adjuster is applied this part module, and removes it if it is. More... | |
| void | RemovePartModuleAdjusterList (List< AdjusterPartModuleBase > moduleAdjusters) |
| Removes the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too. More... | |
| void | Save (ConfigNode node) |
Public Attributes | |
| string | moduleName |
| PartModule | moduleRef |
| ConfigNode | moduleValues |
Represents the saved state of a part module
|
inline |
|
inline |
|
inline |
Call this to add an adjuster to this part module.
| newAdjuster | Adjuster to add. |
|
inline |
Applies the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too.
| moduleAdjusters | List of module adjusters to apply |
|
inline |
Get a list of the active adjusters. We load all the applied adjusters, then remove those those will be removed on load.
| T | : | class |
|
inline |
|
inline |
Call this to repair all the adjusters on this part module that can be repaired.
|
inline |
Call this to remove an adjuster from this part module.
| removeAdjuster | Adjuster to remove. |
|
inline |
Checks to see if the adjuster is applied this part module, and removes it if it is.
| removeAdjuster | Adjuster to remove. |
|
inline |
Removes the appropriate module adjusters. Performs checks to make sure that the adjusters are valid too.
| moduleAdjusters | List of module adjusters to remove |
|
inline |
| string ProtoPartModuleSnapshot.moduleName |
| PartModule ProtoPartModuleSnapshot.moduleRef |
| ConfigNode ProtoPartModuleSnapshot.moduleValues |
1.8.7