C# Class KAS.KASModuleStrut

Inheritance: KASModuleAttachCore
Show file Open project: KospY/KAS Class Usage Examples

Public Properties

Property Type Description
fxSndLink FXGroup
linkedEvaVessel Vessel
linkedStrutModule KASModuleStrut
strutRenderer KAS.KAS_Tube

Protected Properties

Property Type Description
linked bool

Private Properties

Property Type Description
CheckLink bool
ContextMenuLink void
ContextMenuTogglePump void
ContextMenuUnlink void
LinkTo bool
SetEvaLink void
StartPump void
StopPump void
UnlinkPump void
WaitAndRedock IEnumerator

Public Methods

Method Description
GetEvaLinkedStrutModule ( Vessel evaVessel ) : KASModuleStrut
GetInfo ( ) : string
OnJointBreakFixed ( ) : void
OnKISAction ( BaseEventData baseEventData ) : void
OnStart ( StartState state ) : void
OnUpdate ( ) : void
OnVesselWasModified ( Vessel vesselModified ) : void
StopEvaLink ( ) : void

Protected Methods

Method Description
InitFixedAttach ( ) : void
OnDestroy ( ) : void
OnPartDie ( ) : void
Unlink ( ) : void

Private Methods

Method Description
CheckLink ( Transform srcTransform, Transform tgtTransform, bool checkTgtAngle ) : bool
ContextMenuLink ( ) : void
ContextMenuTogglePump ( ) : void
ContextMenuUnlink ( ) : void
LinkTo ( KASModuleStrut tgtModule, bool checkCondition = true, bool setJointOrDock = true ) : bool
SetEvaLink ( ) : void
StartPump ( bool from_ui ) : void
StopPump ( ) : void
UnlinkPump ( ) : void
WaitAndRedock ( ) : IEnumerator

Method Details

GetEvaLinkedStrutModule() public method

public GetEvaLinkedStrutModule ( Vessel evaVessel ) : KASModuleStrut
evaVessel Vessel
return KASModuleStrut

GetInfo() public method

public GetInfo ( ) : string
return string

InitFixedAttach() protected method

protected InitFixedAttach ( ) : void
return void

OnDestroy() protected method

protected OnDestroy ( ) : void
return void

OnJointBreakFixed() public method

public OnJointBreakFixed ( ) : void
return void

OnKISAction() public method

public OnKISAction ( BaseEventData baseEventData ) : void
baseEventData BaseEventData
return void

OnPartDie() protected method

protected OnPartDie ( ) : void
return void

OnStart() public method

public OnStart ( StartState state ) : void
state StartState
return void

OnUpdate() public method

public OnUpdate ( ) : void
return void

OnVesselWasModified() public method

public OnVesselWasModified ( Vessel vesselModified ) : void
vesselModified Vessel
return void

StopEvaLink() public method

public StopEvaLink ( ) : void
return void

Unlink() protected method

protected Unlink ( ) : void
return void

Property Details

fxSndLink public property

public FXGroup fxSndLink
return FXGroup

linked protected property

protected bool linked
return bool

linkedEvaVessel public property

public Vessel linkedEvaVessel
return Vessel

linkedStrutModule public property

public KASModuleStrut,KAS linkedStrutModule
return KASModuleStrut

strutRenderer public property

public KAS_Tube,KAS strutRenderer
return KAS.KAS_Tube