Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
CrewHatchController Class Reference
Inheritance diagram for CrewHatchController:

Public Member Functions

void DisableInterface ()
 
void EnableInterface ()
 
void OnCrewTransferDone (CrewTransfer.DismissAction dma, Part p)
 
void ShowHatchTooltip (bool show)
 Hides or shows crew hatch tooltip. More...
 
void SpawnCrewDialog (Part part, bool showEVA, bool showTransfer)
 

Public Attributes

Vector2 anchorOffset = new Vector2(0.5f, -0.5f)
 
bool overrideTransfer
 

Static Public Attributes

static CrewHatchController fetch
 

Protected Member Functions

void DespawnUIs ()
 
void DismissDialog ()
 
Vector2 GetMouseUiPos ()
 
void HideTooltip ()
 
void OnCrewDialogDismiss ()
 
void OnEVABtn (ProtoCrewMember crew)
 
void OnTransferBtn (ProtoCrewMember crew)
 
void OnVesselSwitch (Vessel v)
 
void ShowTooltip ()
 
void TooltipUpdate (Part hp)
 

Properties

bool Active [get]
 
CrewHatchDialog CrewDialog [get, set]
 

Member Function Documentation

void CrewHatchController.DespawnUIs ( )
inlineprotected
void CrewHatchController.DisableInterface ( )
inline
void CrewHatchController.DismissDialog ( )
inlineprotected
void CrewHatchController.EnableInterface ( )
inline
Vector2 CrewHatchController.GetMouseUiPos ( )
inlineprotected
void CrewHatchController.HideTooltip ( )
inlineprotected
void CrewHatchController.OnCrewDialogDismiss ( )
inlineprotected
void CrewHatchController.OnCrewTransferDone ( CrewTransfer.DismissAction  dma,
Part  p 
)
inline
void CrewHatchController.OnEVABtn ( ProtoCrewMember  crew)
inlineprotected

< reassigning to the same bool here because the EVAIsPossible method requires it as a parameter. This is effectively the same as an || for both clauses above

void CrewHatchController.OnTransferBtn ( ProtoCrewMember  crew)
inlineprotected
void CrewHatchController.OnVesselSwitch ( Vessel  v)
inlineprotected
void CrewHatchController.ShowHatchTooltip ( bool  show)
inline

Hides or shows crew hatch tooltip.

void CrewHatchController.ShowTooltip ( )
inlineprotected
void CrewHatchController.SpawnCrewDialog ( Part  part,
bool  showEVA,
bool  showTransfer 
)
inline
void CrewHatchController.TooltipUpdate ( Part  hp)
inlineprotected

Member Data Documentation

Vector2 CrewHatchController.anchorOffset = new Vector2(0.5f, -0.5f)
CrewHatchController CrewHatchController.fetch
static
bool CrewHatchController.overrideTransfer

Property Documentation

bool CrewHatchController.Active
get
CrewHatchDialog CrewHatchController.CrewDialog
getset

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