void ROCManager.ClearROCsCache |
( |
| ) |
|
|
inline |
void ROCManager.DisableAllROCs |
( |
| ) |
|
|
inline |
Will disable all PQSROCControls in pQSROCControls list.
void ROCManager.EnableAllROCs |
( |
| ) |
|
|
inline |
Will enable all PQSROCControls in pQSROCControls list.
string ROCManager.GetTerrainTag |
( |
GameObject |
obj, |
|
|
out GameObject |
terrainObj |
|
) |
| |
|
inline |
Will find the PQ terrain Quad that the passed in Object is associated with (ROC object) and return the PQ terrain quad's Unity Tag (for setting Vessel.Landed state). If no quad is found or tag. returns empty string.
- Parameters
-
obj | The ROC GameObject we want the terrain tag and object for |
terrainObj | will be set to the actual PQ terrain Quad gameobject underneath the ROC |
- Returns
- the landedAt string as appropriate
void ROCManager.LoadRemovedROCs |
( |
ConfigNode |
node | ) |
|
|
inline |
Loads all RemovedROCs from ConfigNode for persistence load from game.sfs.
- Parameters
-
void ROCManager.RemoveROC |
( |
int |
rocId | ) |
|
|
inline |
Removes a ROC from the RemovedROCs List.
- Parameters
-
bool ROCManager.ROCRemoved |
( |
int |
rocId | ) |
|
|
inline |
Search the RemovedROCs List for a rocId.
- Parameters
-
- Returns
Saves all RemovedROCs to ConfigNode for persistence into game.sfs.
- Parameters
-
DictionaryValueList<string, ROCStats> ROCManager.rocStats |
Static singleton reference
A List of all the PQSROCControl instances attached to the celestial bodies.
A List of the ROC Definitions read from ROC_DEFINITION confignode files.
bool ROCManager.RocsEnabledInCurrentGame |
|
get |
Are ROCs enabled in the current game?
DictionaryValueList<string, GameObject> ROCManager.RocTypeObjects |
|
get |
The documentation for this class was generated from the following file: