Kerbal Space Program
1.12.4
|
A Data Class used to hold the information about a Manned Science Power Unit. More...
Public Member Functions | |
void | Load (ConfigNode node) |
Part | PartIsLoaded () |
Looks for the associated Part instance. If it is Loaded returns the Part reference. If it is not loaded will return null. More... | |
void | Save (ConfigNode node) |
void | UpdateSciencePart (ModuleGroundSciencePart part) |
Updates the Data in this Data class Instance from the passed in ModuleGroundSciencePart. More... | |
Static Public Member Functions | |
static DeployedSciencePart | Spawn (ModuleGroundSciencePart part, ModuleGroundExpControl controlUnit, DeployedScienceCluster cluster) |
Spawns a DeployedSciencePart GameObject; sets the initial data and returns the DeployedSciencePart component. More... | |
static DeployedSciencePart | SpawnandLoad (ConfigNode node, DeployedScienceCluster cluster) |
Spawns a DeployedSciencePart GameObject; Loads it from ConfigNode and returns the DeployedSciencePart component. More... | |
Public Attributes | |
DeployedScienceCluster | Cluster |
Reference to the DeployedScienceCluster data instance that this is a part of. More... | |
DeployedScienceExperiment | Experiment |
The Science Experiment data for this part - if it is an experiment. Otherwise will be Null. More... | |
Properties | |
int | ActualPowerUnitsProduced [get] |
The total number of Power Units actually being produced by this part More... | |
double | AntennaBoosterPower [get] |
Set to the Antenna Booster Power if this Part has a ModuleGroundCommsPart PartModule. More... | |
uint | ControllerId [get] |
The Part Persistent Id for the Control Unit (if attached to one) More... | |
bool | DeployedOnGround [get] |
If the Deployed Science Part is deployed on the ground or not. More... | |
bool | Enabled [get, set] |
If the Deployed Science Part is enabled or not. More... | |
bool | IsAntenna [get] |
This will be set true if this Part has a ModuleGroundCommsPart PartModule. More... | |
bool | IsSolarPanel [get] |
This will be set true if this Part is a Solar Panel that generates Deployed Science power. Solar Panels do not generate Power all the time (rely on the Sun's rays obviously). More... | |
uint | PartId [get] |
Part PersistentId More... | |
int | PowerUnitsProduced [get] |
The total number of Power Units this part produces More... | |
int | PowerUnitsRequired [get] |
The total number of Power Units this part requires More... | |
A Data Class used to hold the information about a Manned Science Power Unit.
|
inline |
Implements IConfigNode.
|
inline |
|
inline |
Implements IConfigNode.
|
inlinestatic |
Spawns a DeployedSciencePart GameObject; sets the initial data and returns the DeployedSciencePart component.
|
inlinestatic |
Spawns a DeployedSciencePart GameObject; Loads it from ConfigNode and returns the DeployedSciencePart component.
|
inline |
Updates the Data in this Data class Instance from the passed in ModuleGroundSciencePart.
part |
DeployedScienceCluster Expansions.Serenity.DeployedScience.Runtime.DeployedSciencePart.Cluster |
Reference to the DeployedScienceCluster data instance that this is a part of.
DeployedScienceExperiment Expansions.Serenity.DeployedScience.Runtime.DeployedSciencePart.Experiment |
The Science Experiment data for this part - if it is an experiment. Otherwise will be Null.
|
get |
The total number of Power Units actually being produced by this part
|
get |
Set to the Antenna Booster Power if this Part has a ModuleGroundCommsPart PartModule.
|
get |
The Part Persistent Id for the Control Unit (if attached to one)
|
get |
If the Deployed Science Part is deployed on the ground or not.
|
getset |
If the Deployed Science Part is enabled or not.
|
get |
This will be set true if this Part has a ModuleGroundCommsPart PartModule.
|
get |
|
get |
Part PersistentId
|
get |
The total number of Power Units this part produces
|
get |
The total number of Power Units this part requires