Kerbal Space Program
1.12.4
|
ME dialog that allow us to select which parts are going to be enabled in the VAB/SPH for this mission More...
Public Member Functions | |
delegate void | CancelledCallback () |
void | Dismiss () |
Dismiss this dialog More... | |
void | OnFilterSelectionChange (EditorPartListFilter< AvailablePart > filter, bool status) |
Triggered when the filter category selection changes More... | |
void | OnPartSelectionChange (AvailablePart part, bool selected) |
Triggered when a part selection state changes More... | |
void | OnSearchChange (EditorPartListFilter< AvailablePart > filter) |
Triggered when a new search term is input More... | |
delegate void | PartSelectionCallback (AvailablePart part, bool state) |
delegate void | SelectionCallback (List< string > selectedParts) |
void | SetPartSelectionStatus (AvailablePart part, bool selected) |
Sets the selection status of a part More... | |
void | Setup (MEGUIParameterPartPicker parameter, PartSelectionCallback onPartSelect) |
Setup updates this instance with the new values and variables More... | |
MEPartSelectorBrowser | Spawn (List< string > partList, Dictionary< string, List< string >> excludedParts, Color selectionColor, SelectionCallback onSelect, CancelledCallback onCancel, RectTransform parent=null) |
Creates a new instance of this class and setup the apropiate variables and delegate callbacks. More... | |
MEPartSelectorBrowser | Spawn (MEGUIParameterPartPicker parameter, PartSelectionCallback onPartSelect, RectTransform parent=null) |
Creates a new instance of this class and setup the apropiate variables and delegate callbacks. More... | |
IEnumerator | Start () |
Public Attributes | |
Button | cancelButton |
float | iconOverScale |
float | iconOverSpin |
float | iconSize |
MEPartSelectorEntry | mePrefab |
CancelledCallback | OnBrowseCancelled |
SelectionCallback | OnBrowseSelectedParts |
PartSelectionCallback | OnPartSelectedChange |
MEPartCategorizer | PartCategorizer |
ScrollRect | partListScrollRect |
UIListSorter | partListSorter |
Button | selectButton |
Protected Member Functions | |
void | AddPartIcon (MEPartSelectorEntry entry, RectTransform listParent) |
void | ClearPartList () |
void | DisablePart (MEPartSelectorEntry entry, bool status, string excludeReason) |
void | Hide () |
Hide this dialog More... | |
void | onButtonCancel () |
Triggered when the cancel button is pressed More... | |
void | onButtonSelect () |
Triggered when the select button is pressed More... | |
void | Show () |
Show this dialog More... | |
Protected Attributes | |
Dictionary< string, List < string > > | excludedParts |
Dictionary of excluded parts and the reason for this part picker More... | |
EditorPartListFilterList < AvailablePart > | partsFilter |
List< MEPartSelectorEntry > | partsList |
EditorPartListFilter < AvailablePart > | searchFilter |
string | title |
Properties | |
List< string > | SelectedParts [get] |
Color | SelectionColor [get] |
ME dialog that allow us to select which parts are going to be enabled in the VAB/SPH for this mission
|
inlineprotected |
delegate void Expansions.Missions.Editor.MEPartSelectorBrowser.CancelledCallback | ( | ) |
|
inlineprotected |
|
inlineprotected |
|
inline |
Dismiss this dialog
|
inlineprotected |
Hide this dialog
|
inlineprotected |
Triggered when the cancel button is pressed
|
inlineprotected |
Triggered when the select button is pressed
|
inline |
Triggered when the filter category selection changes
|
inline |
Triggered when a part selection state changes
part | The afected part |
selected | The new selection status |
|
inline |
Triggered when a new search term is input
filter |
delegate void Expansions.Missions.Editor.MEPartSelectorBrowser.PartSelectionCallback | ( | AvailablePart | part, |
bool | state | ||
) |
delegate void Expansions.Missions.Editor.MEPartSelectorBrowser.SelectionCallback | ( | List< string > | selectedParts | ) |
|
inline |
Sets the selection status of a part
part | |
selected |
|
inline |
Setup updates this instance with the new values and variables
partList | List of parts already enabled in the mission |
partBlacklist | List of parts already selected in other part selector and should be blacklisted (greyed) |
selectionColor | Color used on the part selection |
|
inlineprotected |
Show this dialog
|
inline |
Creates a new instance of this class and setup the apropiate variables and delegate callbacks.
partList | List of parts already enabled in the mission |
excludedParts | List of parts already selected in other part selector and should be blacklisted (greyed) |
selectionColor | Color used on the part selection |
onSelect | Callback triggered when the new part selection is ready |
onCancel | Callback triggered on this dialog cancel |
parent | Parent transform of this dialog |
|
inline |
Creates a new instance of this class and setup the apropiate variables and delegate callbacks.
parameter | Reference to the MEGUI_PartPicker control |
onPartSelect | Callback triggered when a part selection state changes |
parent | Parent transform of this dialog |
|
inline |
Button Expansions.Missions.Editor.MEPartSelectorBrowser.cancelButton |
|
protected |
Dictionary of excluded parts and the reason for this part picker
float Expansions.Missions.Editor.MEPartSelectorBrowser.iconOverScale |
float Expansions.Missions.Editor.MEPartSelectorBrowser.iconOverSpin |
float Expansions.Missions.Editor.MEPartSelectorBrowser.iconSize |
MEPartSelectorEntry Expansions.Missions.Editor.MEPartSelectorBrowser.mePrefab |
CancelledCallback Expansions.Missions.Editor.MEPartSelectorBrowser.OnBrowseCancelled |
SelectionCallback Expansions.Missions.Editor.MEPartSelectorBrowser.OnBrowseSelectedParts |
PartSelectionCallback Expansions.Missions.Editor.MEPartSelectorBrowser.OnPartSelectedChange |
MEPartCategorizer Expansions.Missions.Editor.MEPartSelectorBrowser.PartCategorizer |
ScrollRect Expansions.Missions.Editor.MEPartSelectorBrowser.partListScrollRect |
UIListSorter Expansions.Missions.Editor.MEPartSelectorBrowser.partListSorter |
|
protected |
|
protected |
|
protected |
Button Expansions.Missions.Editor.MEPartSelectorBrowser.selectButton |
|
protected |
|
get |
|
get |