Kerbal Space Program
1.12.4
|
Public Member Functions | |
override bool | IsOpen () |
Public Member Functions inherited from SpaceCenterBuilding | |
void | ColliderHover (bool hover) |
void | DemolishFacility () |
void | Despawntooltip () |
void | EnterBuilding () |
List< ProtoVessel > | FindVesselsAtFacility (FlightState st, IEnumerable< DestructibleBuilding > structuresToCheck) |
Returns a list of any protovessels found to be landed on structures belonging to this building More... | |
List< ProtoVessel > | FindVesselsAtGrounds (FlightState st, Transform facilityRoot) |
float | GetCollapseReputationHit () |
float | GetRepairsCost () |
float | GetStructureDamage () |
void | HighLightBuilding (bool mouseOverIcon) |
bool | IsFacilityOperational (float damage) |
void | OnLeftClick () |
void | OnRightClick () |
bool | OnTooltipAboutToDespawn () |
bool | OnTooltipAboutToSpawn () |
void | OnTooltipDespawned (Tooltip instance) |
void | OnTooltipSpawned (Tooltip instance) |
bool | OnTooltipUpdate (Tooltip instance) |
void | RepairFacility (bool deduceFunds) |
void | SetupColliders () |
void | SetupRenderers () |
void | SpawnTooltip () |
Public Attributes | |
string | constructionFacilityName = "Vehicle Assembly Building" |
string | craftSubfolder = "VAB" |
EditorFacility | facilityType = EditorFacility.VAB |
string | launchSiteName = "LaunchPad" |
or "Runway" More... | |
string | SCFacilityName = "VAB" |
or SPH More... | |
GUISkin | shipBrowserSkin |
Texture2D | shipFileImage |
string | vehicleName = "Rocket" |
or "Space Plane" More... | |
Public Attributes inherited from SpaceCenterBuilding | |
GameObject | additionalColliderPrefab |
string | buildingDescription |
string | buildingInfoName |
MeshRenderer[] | buildingRenderers |
string[] | colliderIgnoreMaterialNames = new string[] { "grass" } |
DestructibleBuilding[] | destructibles |
string | facilityName |
EventData< bool > | OnClick = new EventData<bool>("OnClick") |
EventData< bool > | OnInViewChange = new EventData<bool>("OnInViewChange") |
Tooltip_TitleAndText | tooltipPrefab |
Protected Member Functions | |
override void | OnClicked () |
override void | OnOnDestroy () |
override void | OnStart () |
Protected Member Functions inherited from SpaceCenterBuilding | |
virtual AnchoredDialog | OnContextMenuSpawn () |
Additional Inherited Members | |
Static Public Member Functions inherited from SpaceCenterBuilding | |
static string | GetStructureDamageLevel (float lvl) |
Static Public Attributes inherited from SpaceCenterBuilding | |
static Color | highlightColor = new Color(0.7f, 0.7f, 0.7f) |
static float | highlightRimFalloff = 3f |
static bool | useColliderIgnoreMaterials = false |
Protected Attributes inherited from SpaceCenterBuilding | |
PopupDialog | facilityClosedDialog |
PopupDialog | facilityLockedDialog |
Properties inherited from SpaceCenterBuilding | |
Transform | BuildingTransform [get] |
UpgradeableFacility | Facility [get] |
bool | InView [get] |
bool | Operational [get] |
float | StructuralDamage [get] |
Tooltip | TooltipPrefabInstance [get, set] |
RectTransform | TooltipPrefabInstanceTransform [get, set] |
Tooltip | TooltipPrefabType [get, set] |
Properties inherited from KSP.UI.ITooltipController | |
string | name [get, set] |
Tooltip | TooltipPrefabInstance [get, set] |
RectTransform | TooltipPrefabInstanceTransform [get, set] |
Tooltip | TooltipPrefabType [get, set] |
|
inlinevirtual |
Reimplemented from SpaceCenterBuilding.
|
inlineprotectedvirtual |
Reimplemented from SpaceCenterBuilding.
|
inlineprotectedvirtual |
Reimplemented from SpaceCenterBuilding.
|
inlineprotectedvirtual |
Reimplemented from SpaceCenterBuilding.
string LaunchSiteFacility.constructionFacilityName = "Vehicle Assembly Building" |
string LaunchSiteFacility.craftSubfolder = "VAB" |
EditorFacility LaunchSiteFacility.facilityType = EditorFacility.VAB |
string LaunchSiteFacility.launchSiteName = "LaunchPad" |
or "Runway"
string LaunchSiteFacility.SCFacilityName = "VAB" |
or SPH
GUISkin LaunchSiteFacility.shipBrowserSkin |
Texture2D LaunchSiteFacility.shipFileImage |
string LaunchSiteFacility.vehicleName = "Rocket" |
or "Space Plane"