Class MapUI
- Namespace
- KSP.Map
- Assembly
- Assembly-CSharp.dll
public class MapUI : KerbalMonoBehaviour
- Inheritance
-
MapUI
- Inherited Members
-
- Extension Methods
-
Constructors
MapUI()
Fields
EntryLookup
public static Dictionary<IGGuid, MapUISelectableEntry> EntryLookup
Field Value
- Dictionary<IGGuid, MapUISelectableEntry>
FavoritedMapUIItems
public static Dictionary<IGGuid, MapUISelectableEntry> FavoritedMapUIItems
Field Value
- Dictionary<IGGuid, MapUISelectableEntry>
MapUIItemsByObjectType
public static Dictionary<MapItemType, List<MapUISelectableEntry>> MapUIItemsByObjectType
Field Value
- Dictionary<MapItemType, List<MapUISelectableEntry>>
OnObjectTypeFilterUpdated
public Action<List<TrackingStationObjectTypeFilter>> OnObjectTypeFilterUpdated
Field Value
- Action<List<TrackingStationObjectTypeFilter>>
Properties
CurrentFocusedEntry
public MapUISelectableEntry CurrentFocusedEntry { get; set; }
Property Value
- MapUISelectableEntry
CurrentSelectableEntry
public MapUISelectableEntry CurrentSelectableEntry { get; set; }
Property Value
- MapUISelectableEntry
IsFavorited
public bool IsFavorited { get; set; }
Property Value
- bool
IsProcessingMapItems
public bool IsProcessingMapItems { get; }
Property Value
- bool
IsSelectionActive
public bool IsSelectionActive { get; set; }
Property Value
- bool
MapItems
public List<MapUISelectableEntry> MapItems { get; set; }
Property Value
- List<MapUISelectableEntry>
ObjectPickerSortType
public ObjectPickerSortType ObjectPickerSortType { get; set; }
Property Value
- ObjectPickerSortType
SelectedItem
public MapItem SelectedItem { get; }
Property Value
- MapItem
VesselItems
public Dictionary<IGGuid, MapUISelectableEntry> VesselItems { get; set; }
Property Value
- Dictionary<IGGuid, MapUISelectableEntry>
Methods
public void Configure(List<MapItem> mapItem, MapItem focused)
Parameters
mapItem List<MapItem>
focused MapItem
InitializeGameObjectPools()
public void InitializeGameObjectPools()
OnDestroy()
ProcessSingleMapItem(MapItem)
public void ProcessSingleMapItem(MapItem item)
Parameters
item MapItem
RemoveMapItem(MapItem)
public void RemoveMapItem(MapItem mapItem)
Parameters
mapItem MapItem
UpdateMapItems(List<MapItem>)
public void UpdateMapItems(List<MapItem> mapItems)
Parameters
mapItems List<MapItem>
UpdateSelected(MapItem, bool)
public void UpdateSelected(MapItem item, bool isConfigureSelection)
Parameters
item MapItem
isConfigureSelection bool