PartModuleList.PartModuleList |
( |
Part |
part | ) |
|
|
inline |
void PartModuleList.Clear |
( |
| ) |
|
|
inline |
Clears the list and destroys any part modules
bool PartModuleList.Contains |
( |
string |
className | ) |
|
|
inline |
Does this list contain the action of given name?
- Parameters
-
className | Exposed action name |
- Returns
- True/false
bool PartModuleList.Contains |
( |
int |
classID | ) |
|
|
inline |
Does this list contain the action of given name?
- Parameters
-
actionName | Exposed action name |
- Returns
- True/false
bool PartModuleList.Contains |
( |
uint |
persistentId | ) |
|
|
inline |
Does this list contain a module with this persistentId?
- Parameters
-
persistentId | PersistentId of the module |
- Returns
- True/false
Does the list contain a partmodule of (or derived from) the given template type?
- Template Parameters
-
- Returns
IEngineStatus PartModuleList.FindEngineInterface |
( |
string |
engineName, |
|
|
int |
engineIndex, |
|
|
bool |
preferMultiMode |
|
) |
| |
|
inline |
IEngineStatus PartModuleList.FindEngineNearby |
( |
string |
engineName, |
|
|
int |
engineIndex, |
|
|
bool |
preferMultiMode |
|
) |
| |
|
inline |
< first, try to find an engine on this same part
< if not, try to find an engine on the parent part
< if even that failed, try to find engines on the child parts
List<PartModule>.Enumerator PartModuleList.GetEnumerator |
( |
| ) |
|
|
inline |
PartModule PartModuleList.GetModule |
( |
string |
moduleName | ) |
|
|
inline |
Gets module of the given template type. Optional index param (0-based) for getting later than first of the type.
- Template Parameters
-
- Parameters
-
- Returns
List<T> PartModuleList.GetModules< T > |
( |
| ) |
|
|
inline |
List<IScalarModule> PartModuleList.GetScalarModules |
( |
string |
name | ) |
|
|
inline |
bool PartModuleList.Send |
( |
string |
actionName | ) |
|
|
inline |
Sends an action to one of the actions in this list if any match
- Parameters
-
actionName | Action name to invoke |
- Returns
- true/false depending on if action was successful
bool PartModuleList.Send |
( |
int |
actionID | ) |
|
|
inline |
Sends an action to one of the actions in this list if any match
- Parameters
-
actionName | Action name to invoke |
- Returns
- true/false depending on if action was successful
Sends an action to one of the actions in this list if any match
- Parameters
-
actionName | Action name to invoke |
actionData | Action data class (null if none) |
- Returns
- true/false depending on if action was successful
Sends an action to one of the actions in this list if any match
- Parameters
-
actionName | Action name to invoke |
actionData | Action data class (null if none) |
- Returns
- true/false depending on if action was successful
bool PartModuleList.SendDefault |
( |
| ) |
|
|
inline |
Fires the default action if it is set
- Parameters
-
actionData | Action data class (null if none) |
- Returns
- true/false depending on if action was successful
Fires the default action if it is set
- Parameters
-
actionData | Action data class (null if none) |
- Returns
- true/false depending on if action was successful
Get a partModule
- Parameters
-
persistentId | PersistentId of the module |
- Returns
The documentation for this class was generated from the following file: