A PartResourceDefinition contains the basic information defining a type of resource.
More...
|
float | density [get] |
| The mass of this resource, per unit. This is not necessarily per unit volume, as resources don't have defined volumes. Instead resource "density" is the mass of one units of the resourc.e More...
|
|
int | id [get] |
| The integer ID of this resource type. More...
|
|
string | name [get] |
| The string ID of this resource type More...
|
|
ResourceFlowMode | resourceFlowMode [get] |
| How this resource does or does not flow between parts on a ship in response to resource requests by engines and the like. More...
|
|
ResourceTransferMode | resourceTransferMode [get] |
| How this resource does or does not flow when using the resource transfer function? More...
|
|
A PartResourceDefinition contains the basic information defining a type of resource.
PartResourceDefinition.PartResourceDefinition |
( |
| ) |
|
void PartResourceDefinition.Load |
( |
ConfigNode |
node | ) |
|
void PartResourceDefinition.Save |
( |
ConfigNode |
node | ) |
|
float PartResourceDefinition.density |
|
get |
The mass of this resource, per unit. This is not necessarily per unit volume, as resources don't have defined volumes. Instead resource "density" is the mass of one units of the resourc.e
int PartResourceDefinition.id |
|
get |
The integer ID of this resource type.
string PartResourceDefinition.name |
|
get |
The string ID of this resource type
How this resource does or does not flow between parts on a ship in response to resource requests by engines and the like.
ResourceTransferMode PartResourceDefinition.resourceTransferMode |
|
get |
How this resource does or does not flow when using the resource transfer function?
The documentation for this class was generated from the following file: