| Expansions.Missions.MissionCraft.MissionCraft |
( |
string |
craftFolder, |
|
|
string |
craftFile |
|
) |
| |
|
inline |
| void Expansions.Missions.MissionCraft.Clear |
( |
| ) |
|
|
inline |
| string Expansions.Missions.MissionCraft.GetPartName |
( |
ConfigNode |
node | ) |
|
|
inlineprotected |
Gets the part name value from a Part node
- Parameters
-
- Returns
| string Expansions.Missions.MissionCraft.GetPartNameInVessel |
( |
uint |
persistentId | ) |
|
|
inline |
Gets the part name in the craft
- Parameters
-
| persistentId | Part persistent id |
- Returns
- the PartName or not found string
| uint Expansions.Missions.MissionCraft.GetPartPersistentId |
( |
ConfigNode |
node | ) |
|
|
inline |
Gets the part id value form a Part node, if part don't have a persistent id generates one
- Parameters
-
- Returns
| string Expansions.Missions.MissionCraft.craftFile |
filename of the associated craft file
| string Expansions.Missions.MissionCraft.craftFolder |
folder that the associated craft file is located in
| uint Expansions.Missions.MissionCraft.craftPersistentId |
Will be set to the craft PersistentId
| string Expansions.Missions.MissionCraft.facility = "" |
Set to the Editor Facility vessel is to be playerCreated in. Will be empty if playerCreated is false. If playerCreated is true will contain "VAB" or "SPH". This is so that the Mission System can match the Craft / Folder with the correct one in the mission.
| bool Expansions.Missions.MissionCraft.mappedItem = false |
| string Expansions.Missions.MissionCraft.mappedVesselName = "" |
| uint Expansions.Missions.MissionCraft.rootPartPersistentId |
Will be set to the root part PersistentId
| ConfigNode Expansions.Missions.MissionCraft.CraftNode |
|
get |
Retrieves the ConfigNode contents of the craft file - caches them so we only parse the file once (it's expensive)
| uint Expansions.Missions.MissionCraft.persistentId |
|
get |
Get the Craft's perisistentId from the confignode
| string Expansions.Missions.MissionCraft.VesselName |
|
get |
Get the Craft's Name from the confignode
The documentation for this class was generated from the following file: