Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
KSP.UI.Screens.EditorPartList Class Reference
Inheritance diagram for KSP.UI.Screens.EditorPartList:

Public Types

enum  State {
  State.PartsList = 0, State.SubassemblyList = 1, State.CustomPartList = 2, State.PartSearch = 3,
  State.Nothing = 4, State.VariantsList = 5
}
 

Public Member Functions

void Refresh (State state)
 
void Refresh ()
 Call to refresh the part list More...
 
void RefreshSubassemblies ()
 
void RefreshVariants ()
 
void RevealPart (AvailablePart partToFind, bool revealToolip)
 Jim. possibly make into a scroll to part function More...
 
void TapBackground ()
 
void TapIcon (AvailablePart part)
 
void TapIcon (ShipTemplate st)
 

Public Attributes

bool allowTabChange
 
EditorPartListFilter
< AvailablePart
AmountAvailableFilter = new EditorPartListFilter<AvailablePart>("filterAmountAvailable", p => p.amountAvailable > 0, "")
 Default filter for all part listings More...
 
EditorPartListFilterList
< AvailablePart
CategorizerFilters
 Filters used by the PartCategorizer. Toggeled by 'UsePartCategorizer' More...
 
Button customPartButtonTransform
 
EditorPartListFilterList
< AvailablePart
ExcludeFilters
 Filter used to show/hide parts by game mode More...
 
EditorPartListFilterList
< ShipTemplate
ExcludeFiltersSubassembly
 Determines which subassemblies are listed More...
 
EditorPartListFilterList
< AvailablePart
GreyoutFilters
 Determines whether parts are placeable More...
 
float iconOverScale
 
float iconOverSpin
 
float iconSize
 
RectTransform partGrid
 
ScrollRect partListScrollRect
 
UIListSorter partListSorter
 
EditorPartIcon partPrefab
 
UIScrollRectState scrollRectState
 
EditorPartListFilter
< AvailablePart
SearchFilterParts
 Text search filter More...
 
Button subassemblyButtonTransform
 
RectTransform subassemblyGrid
 
EditorSubassemblyItem subassemblyPrefab
 
RectTransform variantGrid
 
EditorVariantItem variantPrefab
 

Properties

static EditorPartList Instance [get, set]
 

Member Enumeration Documentation

enum KSP.UI.Screens.EditorPartList.State
Enumerator
PartsList 
SubassemblyList 
CustomPartList 
PartSearch 
Nothing 
VariantsList 

Member Function Documentation

void KSP.UI.Screens.EditorPartList.Refresh ( State  state)
inline
void KSP.UI.Screens.EditorPartList.Refresh ( )
inline

Call to refresh the part list

void KSP.UI.Screens.EditorPartList.RefreshSubassemblies ( )
inline
void KSP.UI.Screens.EditorPartList.RefreshVariants ( )
inline
void KSP.UI.Screens.EditorPartList.RevealPart ( AvailablePart  partToFind,
bool  revealToolip 
)
inline

Jim. possibly make into a scroll to part function

Parameters
partToFind
revealToolip
void KSP.UI.Screens.EditorPartList.TapBackground ( )
inline
void KSP.UI.Screens.EditorPartList.TapIcon ( AvailablePart  part)
inline
void KSP.UI.Screens.EditorPartList.TapIcon ( ShipTemplate  st)
inline

Member Data Documentation

bool KSP.UI.Screens.EditorPartList.allowTabChange
EditorPartListFilter<AvailablePart> KSP.UI.Screens.EditorPartList.AmountAvailableFilter = new EditorPartListFilter<AvailablePart>("filterAmountAvailable", p => p.amountAvailable > 0, "")

Default filter for all part listings

EditorPartListFilterList<AvailablePart> KSP.UI.Screens.EditorPartList.CategorizerFilters

Filters used by the PartCategorizer. Toggeled by 'UsePartCategorizer'

Button KSP.UI.Screens.EditorPartList.customPartButtonTransform
EditorPartListFilterList<AvailablePart> KSP.UI.Screens.EditorPartList.ExcludeFilters

Filter used to show/hide parts by game mode

EditorPartListFilterList<ShipTemplate> KSP.UI.Screens.EditorPartList.ExcludeFiltersSubassembly

Determines which subassemblies are listed

EditorPartListFilterList<AvailablePart> KSP.UI.Screens.EditorPartList.GreyoutFilters

Determines whether parts are placeable

float KSP.UI.Screens.EditorPartList.iconOverScale
float KSP.UI.Screens.EditorPartList.iconOverSpin
float KSP.UI.Screens.EditorPartList.iconSize
RectTransform KSP.UI.Screens.EditorPartList.partGrid
ScrollRect KSP.UI.Screens.EditorPartList.partListScrollRect
UIListSorter KSP.UI.Screens.EditorPartList.partListSorter
EditorPartIcon KSP.UI.Screens.EditorPartList.partPrefab
UIScrollRectState KSP.UI.Screens.EditorPartList.scrollRectState
EditorPartListFilter<AvailablePart> KSP.UI.Screens.EditorPartList.SearchFilterParts

Text search filter

Button KSP.UI.Screens.EditorPartList.subassemblyButtonTransform
RectTransform KSP.UI.Screens.EditorPartList.subassemblyGrid
EditorSubassemblyItem KSP.UI.Screens.EditorPartList.subassemblyPrefab
RectTransform KSP.UI.Screens.EditorPartList.variantGrid
EditorVariantItem KSP.UI.Screens.EditorPartList.variantPrefab

Property Documentation

EditorPartList KSP.UI.Screens.EditorPartList.Instance
staticgetset

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