Kerbal Space Program
1.12.4
|
Public Member Functions | |
override bool | ChangePosition (ManeuverNode node, out string errorString) |
override void | ChangeTime () |
override bool | CreateManeuver (out ManeuverNode node, out string alarmTitle, out string alarmDesc) |
Called when the player clicks the Create Maneuver Button in the Maneuver Tool UI. This method should create the Manuever Node based on the TransferDataSimple. More... | |
override string | DisplayName () |
Should return a localized formatted Name for the Transfer Type. This will be displayed in the Maneuver tool Transfer Type dropdown list. More... | |
override void | DrawTypeControls (ManeuverToolUIFrame appFrame, DrawReason reason) |
override void | HideApp () |
Called when the app is hidden/closed. More... | |
void | OnTargetClicked (int value) |
override void | OnUpdate () |
Called in Update() from ManueverTool for the currently selected transfer type. More... | |
void | UpdateTopData () |
override void | UpdateTransferData () |
Called to tell the Transfer Type to update it's TransferDataSimple. This will be called when UI values are changed. More... | |
Public Member Functions inherited from TransferTypeBase | |
virtual bool | FollowingManeuversCheck (TransferDataBase transferData, Callback onOk, Callback onLeave, Callback onCancel) |
Will check if there are any following maneuvers to newTime for vessel. If there are will display a dialog and return true. The dialog will then call onOk onLeave or onCancel callback. If there are no following maneuvers no dialog will display and will return false. More... | |
virtual bool | PriorManeuversCheck (TransferDataBase transferData, Callback onOk, Callback onCancel) |
Will check if there are any prior maneuvers to newTime for vessel. If there are will display a dialog and return true. The dialog will then call onOk or onCancel callback. If there are no prior maneuvers no dialog will display and will return false. More... | |
TransferTypeBase () | |
Constructor More... | |
Public Attributes | |
double | topFrameUpdateIntervalSecs = 60 |
The update interval for the top frame data in seconds. Will also update when other events occur, such as switch vessels, etc. More... | |
Public Attributes inherited from TransferTypeBase | |
TransferDataBase | currentSelectedTransfer |
The currently selected TransferDataBase for the transfer type instance. More... | |
TransferDataTopDataBase | currentSelectTopData |
The current selected TransferDataTopDataBase for the transfer type instance. More... | |
Properties | |
TransferDataSimple | currentSelectedTransfer [get, set] |
The currently selected TransferDataSimple for the transfer type instance. More... | |
TransferDataTopDataBase | currentSelectedTransferTopData [get, set] |
This is the Data Instance for the dynamic UI controls shown in the Top window of the Maneuver Tool More... | |
Additional Inherited Members | |
Public Types inherited from TransferTypeBase | |
enum | DrawReason { DrawReason.ManeuverChanged, DrawReason.VesselChanged, DrawReason.TransferTypeChanged, DrawReason.AppShown } |
|
inlinevirtual |
Implements TransferTypeBase.
|
inlinevirtual |
Implements TransferTypeBase.
|
inlinevirtual |
Called when the player clicks the Create Maneuver Button in the Maneuver Tool UI. This method should create the Manuever Node based on the TransferDataSimple.
newNode | The created node (or null) |
alarmTitle | The Alarm title for the maneuver |
alarmDesc | The Alarm description for the maneuver |
Implements TransferTypeBase.
|
inlinevirtual |
Should return a localized formatted Name for the Transfer Type. This will be displayed in the Maneuver tool Transfer Type dropdown list.
Implements TransferTypeBase.
|
inlinevirtual |
Implements TransferTypeBase.
|
inlinevirtual |
Called when the app is hidden/closed.
Implements TransferTypeBase.
|
inline |
|
inlinevirtual |
Called in Update() from ManueverTool for the currently selected transfer type.
Implements TransferTypeBase.
|
inline |
|
inlinevirtual |
Called to tell the Transfer Type to update it's TransferDataSimple. This will be called when UI values are changed.
Implements TransferTypeBase.
double TransferTypeSimple.topFrameUpdateIntervalSecs = 60 |
The update interval for the top frame data in seconds. Will also update when other events occur, such as switch vessels, etc.
|
getset |
The currently selected TransferDataSimple for the transfer type instance.
|
getset |
This is the Data Instance for the dynamic UI controls shown in the Top window of the Maneuver Tool