Upgrade holder.
More...
| virtual void PartUpgradeHandler.Upgrade.AddUsedBy |
( |
Part |
p, |
|
|
PartModule |
m |
|
) |
| |
|
inlinevirtual |
Adds the partmodule (and part it is on) to the list of modules that implement this upgrade.
- Parameters
-
| virtual ListDictionary<Part, PartModule> PartUpgradeHandler.Upgrade.GetUsedBy |
( |
| ) |
|
|
inlinevirtual |
Return the set of parts and their modules that implement the upgrade.
- Returns
| virtual List<string[]> PartUpgradeHandler.Upgrade.GetUsedByStrings |
( |
| ) |
|
|
inlinevirtual |
Returns a list of string pairs. The first is the part title, the second is the list of partmodule titles implementing the upgrade and the upgrade's description in that module (if any)
- Returns
| virtual bool PartUpgradeHandler.Upgrade.IsUsed |
( |
| ) |
|
|
inlinevirtual |
Returns true iff at least one module on one part uses this upgrade
- Returns
| virtual void PartUpgradeHandler.Upgrade.SetFromInfo |
( |
ConfigNode |
node | ) |
|
|
inlinevirtual |
Construct the Upgrade from the PARTUPGRADE confignode.
- Parameters
-
Set from an UPGRADE node in a PartModule, when there is no PARTUPGRADE describing it.
- Parameters
-
| string PartUpgradeHandler.Upgrade.basicInfo |
| float PartUpgradeHandler.Upgrade.cost = 0f |
| bool PartUpgradeHandler.Upgrade.cumulativeCost = false |
| string PartUpgradeHandler.Upgrade.description |
| float PartUpgradeHandler.Upgrade.entryCost = 0f |
| string PartUpgradeHandler.Upgrade.manufacturer |
| string PartUpgradeHandler.Upgrade.name |
| string PartUpgradeHandler.Upgrade.partIcon |
The availablePart whose icon should be used.
| string PartUpgradeHandler.Upgrade.techRequired |
| string PartUpgradeHandler.Upgrade.title |
The documentation for this class was generated from the following file: