Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Protected Member Functions | Protected Attributes | List of all members
Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList Class Reference
Inheritance diagram for Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList:
Expansions.Missions.Editor.MEGUIParameterDropdownList Expansions.Missions.Editor.MEGUIParameter Expansions.Missions.Editor.IMEHistoryTarget

Protected Member Functions

override void BuildDropDownItemsList ()
 Build up the dropdown list More...
 
override void Setup (string name)
 
- Protected Member Functions inherited from Expansions.Missions.Editor.MEGUIParameterDropdownList
override void OnEnable ()
 
override void ResetDefaultValue (string value)
 Reset to default value based on an attribute value More...
 
- Protected Member Functions inherited from Expansions.Missions.Editor.MEGUIParameter
virtual void Awake ()
 
virtual void LockLocalizedText ()
 To lock the UI for editing when autoLOC's are used More...
 
void OnPinValueChanged (bool state)
 
virtual void Start ()
 
virtual void Update ()
 
void UpdateNodeBodyUI ()
 

Protected Attributes

DictionaryValueList< string,
string > 
dropdownOptions
 
- Protected Attributes inherited from Expansions.Missions.Editor.MEGUIParameterDropdownList
List< string > optionsToExclude
 
GAPPrefabDisplay prefabDisplay
 
GameObject prefabToDisplay
 
string selectedKey = ""
 Storage of the current key that we use to make the history work More...
 
- Protected Attributes inherited from Expansions.Missions.Editor.MEGUIParameter
BaseAPField field
 
RectTransform gapDisplayPartner = null
 The rect that will have its right value changed when the GAPIcon is shown More...
 
bool isPinned = false
 
IMENodeDisplay module
 
CanvasGroup pinCanvasGroup
 
TooltipController_Text tooltipComponent
 The Tooltip controller inside this parameter More...
 

Additional Inherited Members

- Public Member Functions inherited from Expansions.Missions.Editor.MEGUIParameterDropdownList
override void DisplayGAP ()
 If the GAP mode is enabled, it will start up the GAP window with the PrefabDisplay mode, to set the Prefab/GameObject in this window the method "SetGAPPrefab" have to be specified as an additional parameter in the attribute. More...
 
int GetItemIndex (object value)
 
override ConfigNode GetState ()
 
void OnHistoryValueChange (ConfigNode data, HistoryType type)
 
void RebuildDropDown ()
 Trigger the rebuild of the DropDownList More...
 
override void RefreshUI ()
 Refresh the UI display based on the field value More...
 
delegate bool ValueComparer (object value, object listValue)
 structure for the customValueComparer More...
 
- Public Member Functions inherited from Expansions.Missions.Editor.MEGUIParameter
void ChangeColor (Color color)
 
MEGUIParameter Create (BaseAPField field, Transform parent, string name=null)
 Creates an intance of the ui paramter. More...
 
virtual void Display ()
 
virtual string GetGroupName ()
 
void HideColor ()
 
virtual void OnHistoryPinned (ConfigNode data, HistoryType type)
 
void OnParameterReset ()
 Resets the value of this parameter to the defaultValue attribute or if defaultValue is not set reset the parameter to it inital state. More...
 
virtual void OnPointerEnter (PointerEventData eventData)
 Event triggered on pointer enter this gameobject rect More...
 
virtual void OnPointerExit (PointerEventData eventData)
 Event triggered on pointer leave this gameobject rect More...
 
void RemoveParameterByGroup (string group)
 Used to removed fields grouped More...
 
virtual void Select ()
 Set this parameter to be selected More...
 
void SetTooltipActive (bool state)
 
void SetTooltipText (string newText)
 
void ShowColor ()
 
virtual void UnSelect ()
 Set this parameter to be unselected More...
 
- Public Attributes inherited from Expansions.Missions.Editor.MEGUIParameterDropdownList
ValueComparer customValueComparer = null
 A Custom Comparer that can be used to adjust which item in the dropdownlist is chosen More...
 
TMP_Dropdown dropdownList
 TextMeshPro Drop Down in the prefab More...
 
- Public Attributes inherited from Expansions.Missions.Editor.MEGUIParameter
GameObject gapDisplayIndicator
 Indicates that the parameter has a gap display More...
 
bool isSelectable = true
 Can this parameter be selected More...
 
MEGUIParameterGroup parentGroup
 The group this parameter is nested on More...
 
Toggle pinToggle
 Toggle that specifies if this parameter is pinned to the node body More...
 
Button resetButton
 Button used to reset this parameter More...
 
Image selectedIndicator
 Image used to display the control selected state More...
 
TextMeshProUGUI title
 Title of this paremeter More...
 
- Properties inherited from Expansions.Missions.Editor.MEGUIParameterDropdownList
int FieldValue [get, set]
 Parameter value More...
 
override bool IsInteractable [get, set]
 Returns if this parameter is interactable More...
 
DictionaryValueList< string,
MEGUIDropDownItem
Items [get, set]
 The list of items with all the data we need More...
 
MethodInfo OnDropDownValueChanged [get, set]
 Callback method for when the dropdowns value changes More...
 
MethodInfo OnGAPPrefabInstantiated [get, set]
 Callback method for when More...
 
string SelectedKey [get]
 The currently selected dropdownlist Key value. More...
 
object SelectedValue [get]
 The Object that is the selected value More...
 
MethodInfo SetDropDownItems [get, set]
 Callback method for Setting the items in the dropdown More...
 
MethodInfo SetGAPPrefab [get, set]
 Callback method for settting a Prefab/GameObject in the GAP window, it will be duplicated. More...
 
- Properties inherited from Expansions.Missions.Editor.MEGUIParameter
bool GroupStartCollapsed [get]
 Start this group collapsed in the SAP More...
 
bool HasGAP [get]
 Does this parameter has a gap display More...
 
virtual bool IsInteractable [get, set]
 Returns if this parameter is interactable More...
 
bool isMouseOver [get, set]
 Has this parameter mouse over More...
 
bool IsPinnable [get]
 
bool IsSelected [get, set]
 Returns if this parameter is selected More...
 
int Order [get, set]
 Order index for this param in the SAP display More...
 
bool TabStop [get, set]
 
string Tooltip [get]
 

Member Function Documentation

override void Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList.BuildDropDownItemsList ( )
inlineprotectedvirtual

Build up the dropdown list

Reimplemented from Expansions.Missions.Editor.MEGUIParameterDropdownList.

override void Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList.Setup ( string  name)
inlineprotectedvirtual

Member Data Documentation

DictionaryValueList<string, string> Expansions.Missions.Editor.MEGUIParameterLaunchSiteDropdownList.dropdownOptions
protected

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