Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
KSP.UI.Screens.PartCategorizer.Category Class Reference

Public Member Functions

void AddPart (AvailablePart part)
 
void AddPart (string partName, bool compile)
 
void AddSubassembly (string template, bool compile, bool exclude, bool refresh)
 
void AddSubcategory (Category subcategory)
 
 Category (ButtonType buttonType, EditorPartList.State displayType, string categoryName, string categorydisplayName, Icon icon, Color color, Color colorIcon, EditorPartListFilter< AvailablePart > exclusionFilter, bool last=false)
 
 Category (ButtonType buttonType, EditorPartList.State displayType, PartCategorizerButton button, EditorPartListFilter< AvailablePart > exclusionFilter, bool addItem)
 
 Category (ButtonType buttonType, EditorPartList.State displayType, string categoryName, string categorydisplayName, Icon icon, Color color, Color colorIcon, EditorPartListFilter< ShipTemplate > exclusionFilter, bool last=false)
 
 Category (ButtonType buttonType, EditorPartList.State displayType, PartCategorizerButton button, EditorPartListFilter< ShipTemplate > exclusionFilter, bool addItem)
 
 Category (ButtonType buttonType, EditorPartList.State displayType, string categoryName, string categorydisplayName, Icon icon, Color color, Color colorIcon, bool last=false)
 
void CompileExclusionFilter (bool sendRefresh=true)
 
void CompileExclusionFilterSubassembly (bool exclude=true, bool sendRefresh=true)
 
void DeleteCategory ()
 
void DeleteSubcategory ()
 
void FlipAllCategoryButtons (UIRadioButton exceptionBtn)
 
void FlipAllFilterButtons (UIRadioButton exceptionBtn)
 
void InsertSubcategoryButtons ()
 
void OnFalseSUB (Category cat)
 
void OnTrueCATEGORY ()
 
void OnTrueFILTER (UIRadioButton button, UIRadioButton.CallType callType, PointerEventData data)
 
void OnTrueSUB (Category cat)
 
void RebuildSubcategoryButtons ()
 
void RemovePart (AvailablePart part)
 
void RemoveSubassembly (string template, bool compile, bool exclude, bool refresh)
 

Public Attributes

List< string > availableParts
 
PartCategorizerButton button
 
PartCategorizerButton buttonPlus
 
ButtonType buttonType
 
EditorPartList.State displayType
 
EditorPartListFilter
< AvailablePart
exclusionFilter
 
EditorPartListFilter
< ShipTemplate
exclusionFilterSubassembly
 
List< string > shipTemplates
 
List< Categorysubcategories
 
int subCategoryGroup = 0
 

Static Public Attributes

static int subCategoryGroupIndex = 241
 

Constructor & Destructor Documentation

KSP.UI.Screens.PartCategorizer.Category.Category ( ButtonType  buttonType,
EditorPartList.State  displayType,
string  categoryName,
string  categorydisplayName,
Icon  icon,
Color  color,
Color  colorIcon,
EditorPartListFilter< AvailablePart exclusionFilter,
bool  last = false 
)
inline
KSP.UI.Screens.PartCategorizer.Category.Category ( ButtonType  buttonType,
EditorPartList.State  displayType,
PartCategorizerButton  button,
EditorPartListFilter< AvailablePart exclusionFilter,
bool  addItem 
)
inline
KSP.UI.Screens.PartCategorizer.Category.Category ( ButtonType  buttonType,
EditorPartList.State  displayType,
string  categoryName,
string  categorydisplayName,
Icon  icon,
Color  color,
Color  colorIcon,
EditorPartListFilter< ShipTemplate exclusionFilter,
bool  last = false 
)
inline
KSP.UI.Screens.PartCategorizer.Category.Category ( ButtonType  buttonType,
EditorPartList.State  displayType,
PartCategorizerButton  button,
EditorPartListFilter< ShipTemplate exclusionFilter,
bool  addItem 
)
inline
KSP.UI.Screens.PartCategorizer.Category.Category ( ButtonType  buttonType,
EditorPartList.State  displayType,
string  categoryName,
string  categorydisplayName,
Icon  icon,
Color  color,
Color  colorIcon,
bool  last = false 
)
inline

Member Function Documentation

void KSP.UI.Screens.PartCategorizer.Category.AddPart ( AvailablePart  part)
inline
void KSP.UI.Screens.PartCategorizer.Category.AddPart ( string  partName,
bool  compile 
)
inline
void KSP.UI.Screens.PartCategorizer.Category.AddSubassembly ( string  template,
bool  compile,
bool  exclude,
bool  refresh 
)
inline
void KSP.UI.Screens.PartCategorizer.Category.AddSubcategory ( Category  subcategory)
inline
void KSP.UI.Screens.PartCategorizer.Category.CompileExclusionFilter ( bool  sendRefresh = true)
inline
void KSP.UI.Screens.PartCategorizer.Category.CompileExclusionFilterSubassembly ( bool  exclude = true,
bool  sendRefresh = true 
)
inline
void KSP.UI.Screens.PartCategorizer.Category.DeleteCategory ( )
inline
void KSP.UI.Screens.PartCategorizer.Category.DeleteSubcategory ( )
inline
void KSP.UI.Screens.PartCategorizer.Category.FlipAllCategoryButtons ( UIRadioButton  exceptionBtn)
inline
void KSP.UI.Screens.PartCategorizer.Category.FlipAllFilterButtons ( UIRadioButton  exceptionBtn)
inline
void KSP.UI.Screens.PartCategorizer.Category.InsertSubcategoryButtons ( )
inline
void KSP.UI.Screens.PartCategorizer.Category.OnFalseSUB ( Category  cat)
inline
void KSP.UI.Screens.PartCategorizer.Category.OnTrueCATEGORY ( )
inline
void KSP.UI.Screens.PartCategorizer.Category.OnTrueFILTER ( UIRadioButton  button,
UIRadioButton.CallType  callType,
PointerEventData  data 
)
inline
void KSP.UI.Screens.PartCategorizer.Category.OnTrueSUB ( Category  cat)
inline
void KSP.UI.Screens.PartCategorizer.Category.RebuildSubcategoryButtons ( )
inline
void KSP.UI.Screens.PartCategorizer.Category.RemovePart ( AvailablePart  part)
inline
void KSP.UI.Screens.PartCategorizer.Category.RemoveSubassembly ( string  template,
bool  compile,
bool  exclude,
bool  refresh 
)
inline

Member Data Documentation

List<string> KSP.UI.Screens.PartCategorizer.Category.availableParts
PartCategorizerButton KSP.UI.Screens.PartCategorizer.Category.button
PartCategorizerButton KSP.UI.Screens.PartCategorizer.Category.buttonPlus
ButtonType KSP.UI.Screens.PartCategorizer.Category.buttonType
EditorPartList.State KSP.UI.Screens.PartCategorizer.Category.displayType
EditorPartListFilter<AvailablePart> KSP.UI.Screens.PartCategorizer.Category.exclusionFilter
EditorPartListFilter<ShipTemplate> KSP.UI.Screens.PartCategorizer.Category.exclusionFilterSubassembly
List<string> KSP.UI.Screens.PartCategorizer.Category.shipTemplates
List<Category> KSP.UI.Screens.PartCategorizer.Category.subcategories
int KSP.UI.Screens.PartCategorizer.Category.subCategoryGroup = 0
int KSP.UI.Screens.PartCategorizer.Category.subCategoryGroupIndex = 241
static

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