|
| PartResource | Add (ConfigNode node) |
| |
| PartResource | Add (PartResource res) |
| |
| PartResource | Add (string name, double amount, double maxAmount, bool flowState, bool isTweakable, bool hideFlow, bool isVisible, PartResource.FlowMode flow) |
| |
| void | Clear () |
| |
| bool | Contains (string name) |
| |
| bool | Contains (int id) |
| |
| PartResource | Get (string name) |
| |
| PartResource | Get (int id) |
| |
| bool | GetAll (List< PartResource > sources, int id) |
| | Places all PartResource with matching id into sources list. NOTE: Does not clear list. Returns true iff one was found. More...
|
| |
| bool | GetAllFlowing (List< PartResource > sources, int id) |
| | Places all PartResource with matching id and valid flowstate into sources list. NOTE: Does not clear list. Returns true iff one was found. More...
|
| |
| IEnumerator< PartResource > | GetEnumerator () |
| |
| PartResource | GetFlowing (int id, bool pulling) |
| |
| void | GetFlowingTotals (int id, out double amount, out double maxAmount, bool pulling) |
| |
| bool | HasFlowable () |
| |
| bool | HasFlowableUnhidden () |
| |
| | PartResourceList (Part part) |
| |
| | PartResourceList (Part part, bool simulationSet) |
| |
| | PartResourceList (Part part, PartResourceList refList) |
| |
| | PartResourceList (Part part, PartResourceList refList, bool simulationSet) |
| |
| void | RefreshSimulationListAmounts (PartResourceList refList) |
| |
| bool | Remove (PartResource res) |
| |
| bool | Remove (string resName) |
| |
| bool | Remove (int resID) |
| |
| PartResourceList.PartResourceList |
( |
Part |
part | ) |
|
|
inline |
| PartResourceList.PartResourceList |
( |
Part |
part, |
|
|
bool |
simulationSet |
|
) |
| |
|
inline |
| PartResource PartResourceList.Add |
( |
string |
name, |
|
|
double |
amount, |
|
|
double |
maxAmount, |
|
|
bool |
flowState, |
|
|
bool |
isTweakable, |
|
|
bool |
hideFlow, |
|
|
bool |
isVisible, |
|
|
PartResource.FlowMode |
flow |
|
) |
| |
|
inline |
| void PartResourceList.Clear |
( |
| ) |
|
|
inline |
| bool PartResourceList.Contains |
( |
string |
name | ) |
|
|
inline |
| bool PartResourceList.Contains |
( |
int |
id | ) |
|
|
inline |
| bool PartResourceList.GetAll |
( |
List< PartResource > |
sources, |
|
|
int |
id |
|
) |
| |
|
inline |
Places all PartResource with matching id into sources list. NOTE: Does not clear list. Returns true iff one was found.
- Parameters
-
| bool PartResourceList.GetAllFlowing |
( |
List< PartResource > |
sources, |
|
|
int |
id |
|
) |
| |
|
inline |
Places all PartResource with matching id and valid flowstate into sources list. NOTE: Does not clear list. Returns true iff one was found.
- Parameters
-
| IEnumerator<PartResource> PartResourceList.GetEnumerator |
( |
| ) |
|
|
inline |
| PartResource PartResourceList.GetFlowing |
( |
int |
id, |
|
|
bool |
pulling |
|
) |
| |
|
inline |
| void PartResourceList.GetFlowingTotals |
( |
int |
id, |
|
|
out double |
amount, |
|
|
out double |
maxAmount, |
|
|
bool |
pulling |
|
) |
| |
|
inline |
| bool PartResourceList.HasFlowable |
( |
| ) |
|
|
inline |
| bool PartResourceList.HasFlowableUnhidden |
( |
| ) |
|
|
inline |
| bool PartResourceList.Remove |
( |
string |
resName | ) |
|
|
inline |
| bool PartResourceList.Remove |
( |
int |
resID | ) |
|
|
inline |
| DictionaryValueList<int, PartResource> PartResourceList.dict |
| int PartResourceList.Count |
|
get |
| bool PartResourceList.IsValid |
|
get |
The documentation for this class was generated from the following file: