Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Static Public Attributes | Properties | List of all members
Strategies.StrategySystem Class Reference
Inheritance diagram for Strategies.StrategySystem:
ScenarioModule IConfigNode

Public Member Functions

List< StrategyGetStrategies (string department)
 
bool HasActiveStrategy (string department)
 
bool HasConflictingActiveStrategies (string[] groupTags)
 
override void OnAwake ()
 
override void OnLoad (ConfigNode gameNode)
 
override void OnSave (ConfigNode gameNode)
 
- Public Member Functions inherited from ScenarioModule
void Load (ConfigNode node)
 
void Save (ConfigNode node)
 

Static Public Member Functions

static System.Type GetStrategyEffectType (string typeName)
 
static System.Type GetStrategyType (string typeName)
 

Static Public Attributes

static List< System.Type > StrategyEffectTypes = null
 
static List< System.Type > StrategyTypes = null
 

Properties

List< DepartmentConfigDepartments [get]
 
static StrategySystem Instance [get, set]
 
List< StrategyStrategies [get]
 
IEnumerable StrategiesActive [get]
 
IEnumerable StrategiesInactive [get]
 
StrategySystemConfig SystemConfig [get]
 
- Properties inherited from ScenarioModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 

Additional Inherited Members

- Public Attributes inherited from ScenarioModule
ScenarioRunner runner
 
ProtoScenarioModule snapshot
 
List< GameScenestargetScenes
 

Member Function Documentation

List<Strategy> Strategies.StrategySystem.GetStrategies ( string  department)
inline
static System.Type Strategies.StrategySystem.GetStrategyEffectType ( string  typeName)
inlinestatic
static System.Type Strategies.StrategySystem.GetStrategyType ( string  typeName)
inlinestatic
bool Strategies.StrategySystem.HasActiveStrategy ( string  department)
inline
bool Strategies.StrategySystem.HasConflictingActiveStrategies ( string[]  groupTags)
inline

< We will only be checking active strategies.

< required matches decreases specificity based on number of active strategies which share at least one common tag.

override void Strategies.StrategySystem.OnAwake ( )
inlinevirtual

Reimplemented from ScenarioModule.

override void Strategies.StrategySystem.OnLoad ( ConfigNode  gameNode)
inlinevirtual

Reimplemented from ScenarioModule.

override void Strategies.StrategySystem.OnSave ( ConfigNode  gameNode)
inlinevirtual

Reimplemented from ScenarioModule.

Member Data Documentation

List<System.Type> Strategies.StrategySystem.StrategyEffectTypes = null
static
List<System.Type> Strategies.StrategySystem.StrategyTypes = null
static

Property Documentation

List<DepartmentConfig> Strategies.StrategySystem.Departments
get
StrategySystem Strategies.StrategySystem.Instance
staticgetset
List<Strategy> Strategies.StrategySystem.Strategies
get
IEnumerable Strategies.StrategySystem.StrategiesActive
get
IEnumerable Strategies.StrategySystem.StrategiesInactive
get
StrategySystemConfig Strategies.StrategySystem.SystemConfig
get

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