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 | List of all members
Expansions.Missions.MissionPartFilter Class Reference
Inheritance diagram for Expansions.Missions.MissionPartFilter:
IConfigNode

Public Types

enum  Choices { Choices.availableParts, Choices.unavailableParts }
 

Public Member Functions

void ApplyPartsFilter ()
 Apply the unavailable parts filter for this vessel to the editor More...
 
List< string > GetExcludedParts ()
 Gets the list of excluded parts from this filter More...
 
void Load (ConfigNode node)
 
 MissionPartFilter (Mission mission, VesselSituation vesselSituation)
 
void RemovePartsFilter ()
 
void Save (ConfigNode node)
 
void SetUpdatePartnerExcludedPartFilterCallback (Callback newCallback)
 Set the callback to be called if an undo operation causes the parts list to update. We use this to update the exclusion filter on any partnered parts lists. More...
 
void UpdateExcludedPartsFilter ()
 Update the parts displayed in the parts list parameter. We use this to update the parts list because an undo has caused the parameter controlling the excluded parts to update and we need to update those grey boxes! More...
 

Public Attributes

Choices filterType = Choices.unavailableParts
 An enum to choose from the fields below More...
 

Member Enumeration Documentation

Enumerator
availableParts 
unavailableParts 

Constructor & Destructor Documentation

Expansions.Missions.MissionPartFilter.MissionPartFilter ( Mission  mission,
VesselSituation  vesselSituation 
)
inline

Member Function Documentation

void Expansions.Missions.MissionPartFilter.ApplyPartsFilter ( )
inline

Apply the unavailable parts filter for this vessel to the editor

List<string> Expansions.Missions.MissionPartFilter.GetExcludedParts ( )
inline

Gets the list of excluded parts from this filter

Returns
void Expansions.Missions.MissionPartFilter.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.MissionPartFilter.RemovePartsFilter ( )
inline
void Expansions.Missions.MissionPartFilter.Save ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.MissionPartFilter.SetUpdatePartnerExcludedPartFilterCallback ( Callback  newCallback)
inline

Set the callback to be called if an undo operation causes the parts list to update. We use this to update the exclusion filter on any partnered parts lists.

void Expansions.Missions.MissionPartFilter.UpdateExcludedPartsFilter ( )
inline

Update the parts displayed in the parts list parameter. We use this to update the parts list because an undo has caused the parameter controlling the excluded parts to update and we need to update those grey boxes!

Member Data Documentation

Choices Expansions.Missions.MissionPartFilter.filterType = Choices.unavailableParts

An enum to choose from the fields below


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