Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Expansions.Missions.Flow.MEFlowBlock Class Reference

Base class for all Block types More...

Inheritance diagram for Expansions.Missions.Flow.MEFlowBlock:
Expansions.Missions.Flow.IMEFlowBlock IConfigNode Expansions.Missions.Flow.MEFlowOrBlock Expansions.Missions.Flow.MEFlowThenBlock

Public Member Functions

void AddBlock (IMEFlowBlock newBlock)
 Add a block to the chilc list More...
 
void Load (ConfigNode node)
 
 MEFlowBlock (Mission mission)
 Constructor More...
 
void Save (ConfigNode node)
 
void UpdateMissionFlowUI (MEFlowParser parser)
 

Properties

List< IMEFlowBlockBlocks [get, set]
 List of child objects for this block More...
 
int CountObjectives [get]
 How many of the Blocks have objectives. More...
 
bool HasObjectives [get]
 Do any of the blocks inside this one have objectives More...
 
bool HasReachableObjectives [get]
 Are there any Objectives inside this block that can be reached More...
 
bool HasVisibleChildren [get]
 Are there any objectives inside this block that are not hidden by events More...
 
- Properties inherited from Expansions.Missions.Flow.IMEFlowBlock
int CountObjectives [get]
 
bool HasObjectives [get]
 
bool HasReachableObjectives [get]
 
bool HasVisibleChildren [get]
 

Detailed Description

Base class for all Block types

Each Flow Block contains a list of blocks and the type defines what they represent

Constructor & Destructor Documentation

Expansions.Missions.Flow.MEFlowBlock.MEFlowBlock ( Mission  mission)
inline

Constructor

Parameters
missionThe mission ref for this block

Member Function Documentation

void Expansions.Missions.Flow.MEFlowBlock.AddBlock ( IMEFlowBlock  newBlock)
inline

Add a block to the chilc list

Parameters
newBlock
void Expansions.Missions.Flow.MEFlowBlock.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.Flow.MEFlowBlock.Save ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.Flow.MEFlowBlock.UpdateMissionFlowUI ( MEFlowParser  parser)
inline

Property Documentation

List<IMEFlowBlock> Expansions.Missions.Flow.MEFlowBlock.Blocks
getset

List of child objects for this block

int Expansions.Missions.Flow.MEFlowBlock.CountObjectives
get

How many of the Blocks have objectives.

This counts direct members - eg if a child block has 10 objectives it will only add 1 to this blocks count

bool Expansions.Missions.Flow.MEFlowBlock.HasObjectives
get

Do any of the blocks inside this one have objectives

bool Expansions.Missions.Flow.MEFlowBlock.HasReachableObjectives
get

Are there any Objectives inside this block that can be reached

bool Expansions.Missions.Flow.MEFlowBlock.HasVisibleChildren
get

Are there any objectives inside this block that are not hidden by events


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