Kerbal Space Program
1.12.4
|
Public Member Functions | |
void | AddToGroup (StageIcon icon, bool setParent=true) |
void | Awake () |
void | BlinkBorder (float interval) |
void | ClearInfoBoxes () |
Clear all the boxes from the icon's side. (Use this if you lost a reference. You'll kill off other boxes too, I hope you're happy) More... | |
void | CollapseGroup () |
void | ConsolidateMembers () |
removes stageicons belonging to this group that should not belong i.e. they were just moved to another group The logic should work without ever calling this method. More... | |
void | DisableGroup (StageIcon iconToDisable) |
Called from flight when a part is disconnected or destroyed More... | |
StageIconInfoBox | DisplayInfo () |
Create a new Information Box by the side of the icon. (mind the box count limit) More... | |
void | ExpandGroup () |
Expand group and select everything More... | |
void | ExpandGroupInUIOnly () |
StageIconInfoBox | ForceDisplayInfo () |
Will assign a reference box, even if it's at the limit. (Will do so by removing the first one to make room) More... | |
void | Freeze () |
void | Highlight (bool highlightState, bool highlightReferencedPart) |
void | HoldGroupedIcons (bool alertStagingSequencer=true) |
void | RemoveFromGroup (StageIcon icon, bool resetGroupLeadIfempty=true) |
bool | RemoveFromGroupAndReshuffle (out StageGroup foundInGroup) |
take an icon out of a group and reorganize the rest of the group More... | |
void | RemoveInfo (StageIconInfoBox iBox) |
Removes an information box from the icon's side. More... | |
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 () |
void | ResetStageIconSymmetryGroup () |
Reset after drag and drop Wrong cause it doesnt consider resizing list elements REFACTOR OUT More... | |
void | SetBackgroundColor (Color color) |
void | SetBorderColor (Color color) |
void | SetIcon (Texture2D texture, int x, int y) |
void | SetIcon (DefaultIcons icon) |
void | SetIcon (string customIconFilePath, int x, int y) |
void | SetIconColor (Color color) |
void | SetInStageIndex (int index) |
Set the internal index within the stage group More... | |
void | SetInStageIndexOFGroupedIcons (bool setSiblingIndex=true) |
void | SetInverseSequenceIndex (int inverseIndex, int inStageIndex, bool seqOverride=true) |
void | SetManualStageOffset (int inverseIndex) |
basically set the star on this icon More... | |
void | SetSymmetryMarkers () |
void | SetSymmetryText (bool active, string number="") |
void | Setup (ProtoStageIcon protoIcon) |
void | SortGroupedIcons () |
Sorts grouped icons according to the order in the hierarchy and sets inStageIndexes More... | |
void | Start () |
void | Unfreeze () |
Public Attributes | |
bool | blinkBorder = false |
float | blinkInterval = 1.0f |
bool | expanded = false |
bool | frozen = false |
bool | grouped = false |
List< StageIcon > | groupedIcons = new List<StageIcon>() |
StageIcon | groupLead |
DefaultIcons | iconType = DefaultIcons.MYSTERY_PART |
bool | infoDisplay = false |
UIRadioButton | radioButton |
bool | selected = false |
bool | showBorder = false |
int | SiblingIndex = -1 |
bool | underDrag = false |
Static Public Attributes | |
static int | maxInfoBoxes = 3 |
this many info boxes can be displayed at once More... | |
Protected Attributes | |
Image | backgroundImage |
Image | borderImage |
CanvasGroup | canvasGroup |
Texture2D | defaultIconMap |
int | defaultIconSize = 64 |
UIDragPanel | dragHandler |
PointerEnterExitHandler | hoverHandler |
RawImage | iconImage |
ProtoStageIcon | protoIcon |
StageGroup | stage |
StageIconInfoBox | stageIconInfoBoxPrefab |
TMPro.TextMeshProUGUI | textStar |
TMPro.TextMeshProUGUI | textSymmetry |
Properties | |
CanvasGroup | CanvasGroup [get, set] |
List< Part > | Counterparts [get] |
int | DefaultSequenceIndex [get] |
StackIconGrouping | IconGroupingRule [get] |
int | InStageIndex [get] |
int | InverseStage [get] |
bool | isDisplayingInfo [get] |
Determines if this icon has any infoboxes open (read-only) More... | |
bool | isDisplayingInfoInGroup [get] |
Determines if this icon or any of it's symmetry siblings has any infoboxes open (read-only) More... | |
bool | isMainIcon [get] |
bool | isSymmetryCounterPart [get] |
int | OriginalStageIndex [get] |
Part | Part [get] |
System.Type | partModule [get] |
PartStates | partState [get] |
string | partType [get] |
ProtoStageIcon | ProtoIcon [get] |
StageGroup | Stage [get, set] |
|
inline |
|
inline |
|
inline |
|
inline |
Clear all the boxes from the icon's side. (Use this if you lost a reference. You'll kill off other boxes too, I hope you're happy)
|
inline |
|
inline |
removes stageicons belonging to this group that should not belong i.e. they were just moved to another group The logic should work without ever calling this method.
|
inline |
Called from flight when a part is disconnected or destroyed
iconToDisable |
|
inline |
Create a new Information Box by the side of the icon. (mind the box count limit)
|
inline |
Expand group and select everything
|
inline |
|
inline |
Will assign a reference box, even if it's at the limit. (Will do so by removing the first one to make room)
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
take an icon out of a group and reorganize the rest of the group
|
inline |
Removes an information box from the icon's side.
iBox | The reference that was given to you when you spawned the box. You did keep it safe didn't you? |
|
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 |
|
inline |
Reset after drag and drop Wrong cause it doesnt consider resizing list elements REFACTOR OUT
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set the internal index within the stage group
index |
|
inline |
|
inline |
|
inline |
basically set the star on this icon
inverseIndex |
< set manualStageOffset on all grouped/symmetry parts too
|
inline |
|
inline |
|
inline |
|
inline |
Sorts grouped icons according to the order in the hierarchy and sets inStageIndexes
|
inline |
|
inline |
|
protected |
bool KSP.UI.Screens.StageIcon.blinkBorder = false |
float KSP.UI.Screens.StageIcon.blinkInterval = 1.0f |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
bool KSP.UI.Screens.StageIcon.expanded = false |
bool KSP.UI.Screens.StageIcon.frozen = false |
bool KSP.UI.Screens.StageIcon.grouped = false |
StageIcon KSP.UI.Screens.StageIcon.groupLead |
|
protected |
|
protected |
DefaultIcons KSP.UI.Screens.StageIcon.iconType = DefaultIcons.MYSTERY_PART |
bool KSP.UI.Screens.StageIcon.infoDisplay = false |
|
static |
this many info boxes can be displayed at once
|
protected |
UIRadioButton KSP.UI.Screens.StageIcon.radioButton |
bool KSP.UI.Screens.StageIcon.selected = false |
bool KSP.UI.Screens.StageIcon.showBorder = false |
int KSP.UI.Screens.StageIcon.SiblingIndex = -1 |
|
protected |
|
protected |
|
protected |
|
protected |
bool KSP.UI.Screens.StageIcon.underDrag = false |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
Determines if this icon has any infoboxes open (read-only)
|
get |
Determines if this icon or any of it's symmetry siblings has any infoboxes open (read-only)
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |