Kerbal Space Program
1.12.4
|
Public Member Functions | |
bool | Activate () |
bool | CanBeActivated (out string reason) |
bool | CanBeDeactivated (out string reason) |
bool | Deactivate () |
void | Load (ConfigNode node) |
void | Register () |
void | Save (ConfigNode node) |
void | Unregister () |
void | Update () |
Static Public Member Functions | |
static Strategy | Create (System.Type type, StrategyConfig config) |
Protected Member Functions | |
virtual bool | CanActivate (ref string reason) |
virtual bool | CanDeactivate (ref string reason) |
float | FactorLerp (float minValue, float maxValue) |
double | FactorLerp (double minValue, double maxValue) |
virtual string | GetEffectText () |
virtual string | GetText () |
virtual string | MessageDeactivatedMaxTime () |
virtual void | OnLoad (ConfigNode node) |
virtual void | OnRegister () |
virtual void | OnSave (ConfigNode node) |
virtual void | OnUnregister () |
virtual void | OnUpdate () |
void | SendStateMessage (string title, string message, MessageSystemButton.MessageButtonColor color, MessageSystemButton.ButtonIcons icon) |
Protected Attributes | |
float | factor |
float | factorSliderDefault |
int | factorSliderSteps |
bool | hasFactorSlider |
float | initialCostFundsMax |
float | initialCostFundsMin |
float | initialCostReputationMax |
float | initialCostReputationMin |
float | initialCostScienceMax |
float | initialCostScienceMin |
double | maxLeastDuration |
double | maxLongestDuration |
double | minLeastDuration |
double | minLongestDuration |
float | requiredReputationMax |
float | requiredReputationMin |
Properties | |
StrategyConfig | Config [get, set] |
double | DateActivated [get] |
Date/time at which that this stragey was activated More... | |
DepartmentConfig | Department [get] |
department config name for this buff. only one buff per category is allowed More... | |
string | DepartmentName [get] |
string category name for this buff. only one buff per category is allowed More... | |
string | Description [get] |
long description More... | |
string | Effect [get] |
Returns the list of effects as text More... | |
List< StrategyEffect > | Effects [get] |
float | Factor [get, set] |
a designer defined factor for ease of balancing. this modifies all GameBuffEffect's in the effects list can also be set via the optional slider More... | |
float | FactorSliderDefault [get] |
Optional: Slider's default value More... | |
int | FactorSliderSteps [get] |
Optional: Number of steps that the slider has (0 if analogue) More... | |
string[] | GroupTags [get] |
group tags, used to match conflicting strategies More... | |
bool | HasFactorSlider [get] |
Optional: boolean to show/hide factor slider in buff enactment window. NOTE: Once the buff is enacted, the slider is no longer shown. More... | |
float | InitialCostFunds [get] |
float | InitialCostFundsMax [get] |
Optional: Initial monetary cost to enact this buff More... | |
float | InitialCostFundsMin [get] |
Optional: Initial monetary cost to enact this buff More... | |
float | InitialCostReputation [get] |
float | InitialCostReputationMax [get] |
Optional: Initial reputation cost to enact this buff More... | |
float | InitialCostReputationMin [get] |
Optional: Initial reputation cost to enact this buff More... | |
float | InitialCostScience [get] |
float | InitialCostScienceMax [get] |
Optional: Initial science cost to enact this buff More... | |
float | InitialCostScienceMin [get] |
Optional: Initial science cost to enact this buff More... | |
bool | IsActive [get] |
Boolean denoting if this strategy is currently active More... | |
double | LeastDuration [get] |
Optional: The least amount of time this strategy must be active for before cancellation is allowed. More... | |
double | LongestDuration [get] |
Optional: The longest possible amount of time this strategy may be active for. More... | |
double | MaxLeastDuration [get] |
double | MaxLongestDuration [get] |
double | MinLeastDuration [get] |
double | MinLongestDuration [get] |
bool | NoDuration [get] |
Return True if there is No Duration for this strategy. It's a one time event. More... | |
float | RequiredReputation [get] |
float | RequiredReputationMax [get] |
float | RequiredReputationMin [get] |
string | Text [get] |
Returns the compiled Administration building text More... | |
string | Title [get] |
title for the buff to display in SC building More... | |
|
inline |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inlinestatic |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlineprotectedvirtual |
< Effects
< active/inactive vars
|
inlineprotectedvirtual |
< Description
< active/inactive vars
|
inline |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
getset |
|
get |
Date/time at which that this stragey was activated
|
get |
department config name for this buff. only one buff per category is allowed
|
get |
string category name for this buff. only one buff per category is allowed
|
get |
long description
|
get |
Returns the list of effects as text
|
get |
|
getset |
a designer defined factor for ease of balancing. this modifies all GameBuffEffect's in the effects list can also be set via the optional slider
|
get |
Optional: Slider's default value
|
get |
Optional: Number of steps that the slider has (0 if analogue)
|
get |
group tags, used to match conflicting strategies
|
get |
Optional: boolean to show/hide factor slider in buff enactment window. NOTE: Once the buff is enacted, the slider is no longer shown.
|
get |
|
get |
Optional: Initial monetary cost to enact this buff
|
get |
Optional: Initial monetary cost to enact this buff
|
get |
|
get |
Optional: Initial reputation cost to enact this buff
|
get |
Optional: Initial reputation cost to enact this buff
|
get |
|
get |
Optional: Initial science cost to enact this buff
|
get |
Optional: Initial science cost to enact this buff
|
get |
Boolean denoting if this strategy is currently active
|
get |
Optional: The least amount of time this strategy must be active for before cancellation is allowed.
|
get |
Optional: The longest possible amount of time this strategy may be active for.
|
get |
|
get |
|
get |
|
get |
|
get |
Return True if there is No Duration for this strategy. It's a one time event.
|
get |
|
get |
|
get |
|
get |
Returns the compiled Administration building text
|
get |
title for the buff to display in SC building