Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Protected Member Functions | List of all members
MissionControlBuilding Class Reference
Inheritance diagram for MissionControlBuilding:
SpaceCenterBuilding KSP.UI.ITooltipController

Public Member Functions

override bool IsOpen ()
 
- Public Member Functions inherited from SpaceCenterBuilding
void ColliderHover (bool hover)
 
void DemolishFacility ()
 
void Despawntooltip ()
 
void EnterBuilding ()
 
List< ProtoVesselFindVesselsAtFacility (FlightState st, IEnumerable< DestructibleBuilding > structuresToCheck)
 Returns a list of any protovessels found to be landed on structures belonging to this building More...
 
List< ProtoVesselFindVesselsAtGrounds (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 ()
 

Protected Member Functions

override void OnClicked ()
 
override void OnOnDestroy ()
 
- Protected Member Functions inherited from SpaceCenterBuilding
virtual AnchoredDialog OnContextMenuSpawn ()
 
virtual void OnStart ()
 

Additional Inherited Members

- Static Public Member Functions inherited from SpaceCenterBuilding
static string GetStructureDamageLevel (float lvl)
 
- 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
 
- 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]
 

Member Function Documentation

override bool MissionControlBuilding.IsOpen ( )
inlinevirtual

Reimplemented from SpaceCenterBuilding.

override void MissionControlBuilding.OnClicked ( )
inlineprotectedvirtual

Reimplemented from SpaceCenterBuilding.

override void MissionControlBuilding.OnOnDestroy ( )
inlineprotectedvirtual

Reimplemented from SpaceCenterBuilding.


The documentation for this class was generated from the following file: