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

Public Types

enum  FlowState { FlowState.None, FlowState.Out, FlowState.In }
 

Public Member Functions

void FlowIn (double fraction)
 
void FlowOut ()
 
void FlowStop ()
 
override bool IsItemValid ()
 
void OnDestroy ()
 
override void Setup (UIPartActionWindow window, Part part, UI_Scene scene, UI_Control control, PartResource resource)
 
override void UpdateItem ()
 
- Public Member Functions inherited from UIPartActionItem
virtual void AddInputFieldLock (string val)
 
virtual void RemoveInputfieldLock ()
 
void SetupItem (UIPartActionWindow window, Part part, PartModule partModule, UI_Scene scene, UI_Control control)
 

Public Attributes

Button flowInBtn
 
Button flowOutBtn
 
Button flowStopBtn
 
double lastUT
 
FlowState state
 

Static Public Attributes

static bool transferRequiresFullControl = false
 

Properties

FlowState State [get]
 
List
< UIPartActionResourceTransfer
Targets [get, set]
 
- Properties inherited from UIPartActionResourceItem
PartResource Resource [get]
 
- Properties inherited from UIPartActionItem
UI_Control Control [get]
 
bool IsModule [get]
 
Part Part [get]
 
PartModule PartModule [get]
 
UI_Scene Scene [get]
 
UIPartActionWindow Window [get]
 

Additional Inherited Members

- Protected Member Functions inherited from UIPartActionResourceItem
void SetSymCounterpartsAmount (double amount)
 
void SetSymCounterpartsFlowState (bool state)
 
- Protected Attributes inherited from UIPartActionResourceItem
PartResource resource
 
- Protected Attributes inherited from UIPartActionItem
UI_Control control
 
bool isModule
 
Part part
 
PartModule partModule
 
UI_Scene scene
 
UIPartActionWindow window
 

Member Enumeration Documentation

Enumerator
None 
Out 
In 

Member Function Documentation

void UIPartActionResourceTransfer.FlowIn ( double  fraction)
inline
void UIPartActionResourceTransfer.FlowOut ( )
inline
void UIPartActionResourceTransfer.FlowStop ( )
inline
override bool UIPartActionResourceTransfer.IsItemValid ( )
inlinevirtual

Reimplemented from UIPartActionItem.

void UIPartActionResourceTransfer.OnDestroy ( )
inline
override void UIPartActionResourceTransfer.Setup ( UIPartActionWindow  window,
Part  part,
UI_Scene  scene,
UI_Control  control,
PartResource  resource 
)
inlinevirtual

Reimplemented from UIPartActionResourceItem.

override void UIPartActionResourceTransfer.UpdateItem ( )
inlinevirtual

Reimplemented from UIPartActionItem.

Member Data Documentation

Button UIPartActionResourceTransfer.flowInBtn
Button UIPartActionResourceTransfer.flowOutBtn
Button UIPartActionResourceTransfer.flowStopBtn
double UIPartActionResourceTransfer.lastUT
FlowState UIPartActionResourceTransfer.state
bool UIPartActionResourceTransfer.transferRequiresFullControl = false
static

Property Documentation

FlowState UIPartActionResourceTransfer.State
get
List<UIPartActionResourceTransfer> UIPartActionResourceTransfer.Targets
getset

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