Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | AddIcon (StageIcon icon, bool setParent=true) |
void | AddIconAt (StageIcon icon, int index, int forcedSiblingIndex, bool setParent=true) |
void | AddIcons (StageIcon[] iconsToAdd) |
void | AddStageAfter () |
for the gui + button More... | |
void | DisableDeltaVHeading () |
Disable the Delta-v Heading in the stage group More... | |
void | DisableInfoPanel () |
Disable the Info Panel in the stage group More... | |
void | DisableStockInfoPanelDisplays () |
Disable the Stock standardized info line displays More... | |
void | EnableDeltaVHeading () |
Enable the Delta-v Heading in the stage group More... | |
void | EnableDeltaVHeading (bool enable) |
Set the Enabled state of the Delta-v Heading in the stage group More... | |
void | EnableInfoPanel () |
Enable the Info Panel in the stage group More... | |
void | EnableInfoPanel (bool enable) |
Set the Enabled state of the Info Panel in the stage group More... | |
void | EnableStockInfoPanelDisplays () |
Enable the Stock standardized info line displays More... | |
void | EnableStockInfoPanelDisplays (bool enable) |
Set the Enabled state of Stock standardized info line displays for this stage group More... | |
StageIcon | FindSymmetryGroupleader (StageIcon icon) |
void | FixGroupUIState () |
Sets the state of the icons in a group to what the GUI expects. NOTE: needed until the backend can populate the groups correctly More... | |
int | GetStageGroupIndex (PointerEventData eventData, out StageIcon stageIcon, out int modifiedSiblingIndex) |
void | MoveAllIconsInto (StageGroup moveInto) |
void | MoveIconsInto (StageGroup oldStageGroup, StageIcon selectedLeader, List< StageIcon > selectedIcons, StageIcon unSelectedLeader, List< StageIcon > unSelectedIcons, int insertAt, int modifiedSiblingIndex) |
Moves icons from one stagegroup to another. More... | |
void | OnPointerClick (PointerEventData eventData) |
void | RemoveIcon (StageIcon icon, bool changeParents=true) |
void | Reset () |
For the reset button in the StageManager GUI Backend: Resets Part.inverseStage to Part.DefaultInverseStage and all values to default Visually: Moves parts in the staging gui to where they would have been had the sequence not been modified in any way More... | |
bool | ResetAvailable () |
virtual void | SetDeltaVHeading_OnDeltaVCalcsCompleted () |
The code thats called when DeltaVCalcsCompleted Fires to update the text/display of the DVHeading More... | |
virtual void | SetDeltaVHeading_OnUpdate () |
The code thats called during Update to set the text/display of the DVHeading More... | |
void | SetInverseStageIndex (int index) |
void | SetManualStageOffset () |
set the star on icons More... | |
void | SetPartIndices (bool seqOverride=true) |
void | SetSiblingIndexes () |
Set proper sibling indexes of all icons belonging to group For easy resetting More... | |
void | SetUiStageIndex (int index) |
void | ToggleInfoPanel () |
Toggle the display state of the InfoPanel More... | |
void | ToggleInfoPanel (bool showPanel) |
Slide the InfoPanel in/out More... | |
void | UpdateInStageIndexes () |
Public Attributes | |
int | defaultStage = -1 |
int | inverseStageIndex = 0 |
bool | manualOverride = false |
Protected Attributes | |
Button | addButton |
Button | deleteButton |
Color | DeltaVHeadingColor |
LayoutElement | DeltaVHeadingObject |
TextMeshProUGUI | DeltaVHeadingText |
UIDragPanel | dragHandler |
LayoutElement | FooterLayout |
RectTransform | iconsUiList |
StageGroupInfoItem | infoItemPrefab |
LayoutElement | InfoPanelLayout |
Properties | |
bool | DeltaVHeadingEnabled [get] |
Is the Delta-v headings enabled More... | |
List< StageIcon > | Icons [get] |
RectTransform | IconsUIList [get] |
bool | InfoPanelEnabled [get] |
Is the Info Panel enabled - ie the slidein/out panel More... | |
bool | InfoPanelStockDisplayEnabled [get] |
Is the Info Panel enabled - ie the slidein/out panel More... | |
bool | IsBeingDragged [get, set] |
RectTransform | RectTransform [get] |
|
inline |
|
inline |
|
inline |
|
inline |
for the gui + button
|
inline |
Disable the Delta-v Heading in the stage group
|
inline |
Disable the Info Panel in the stage group
|
inline |
Disable the Stock standardized info line displays
Do this if you are going to replace teh stock lines with other content
|
inline |
Enable the Delta-v Heading in the stage group
|
inline |
Set the Enabled state of the Delta-v Heading in the stage group
enable | Set true to enable |
|
inline |
Enable the Info Panel in the stage group
|
inline |
Set the Enabled state of the Info Panel in the stage group
enable | Set true to enable |
|
inline |
Enable the Stock standardized info line displays
|
inline |
Set the Enabled state of Stock standardized info line displays for this stage group
Disable this if you are going to replace teh stock lines with other content
enable | Set true to enable |
|
inline |
Sets the state of the icons in a group to what the GUI expects. NOTE: needed until the backend can populate the groups correctly
|
inline |
|
inline |
|
inline |
Moves icons from one stagegroup to another.
selectedLeader | |
selectedIcons | |
insertAt | |
modifiedSiblingIndex |
|
inline |
|
inline |
|
inline |
For the reset button in the StageManager GUI Backend: Resets Part.inverseStage to Part.DefaultInverseStage and all values to default Visually: Moves parts in the staging gui to where they would have been had the sequence not been modified in any way
|
inline |
|
inlinevirtual |
The code thats called when DeltaVCalcsCompleted Fires to update the text/display of the DVHeading
Its called in update when the is true
In stock code this is what updates the total Dv number on staging and building in the editor
|
inlinevirtual |
The code thats called during Update to set the text/display of the DVHeading
Its called in update when the is true
In stock code this is what updates the Dv HEading in flight
|
inline |
|
inline |
set the star on icons
|
inline |
|
inline |
Set proper sibling indexes of all icons belonging to group For easy resetting
|
inline |
|
inline |
Toggle the display state of the InfoPanel
|
inline |
Slide the InfoPanel in/out
showPanel | Whether it Shoudl end up shown or hidden |
|
inline |
|
protected |
int KSP.UI.Screens.StageGroup.defaultStage = -1 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
int KSP.UI.Screens.StageGroup.inverseStageIndex = 0 |
bool KSP.UI.Screens.StageGroup.manualOverride = false |
|
get |
Is the Delta-v headings enabled
|
get |
|
get |
|
get |
Is the Info Panel enabled - ie the slidein/out panel
|
get |
Is the Info Panel enabled - ie the slidein/out panel
|
getset |
|
get |