![]() |
Kerbal Space Program
1.12.4
|
Public Member Functions | |
| float | AddReputation (float r, TransactionReasons reason) |
| Adds the given amount of Reputation. Because Reputation follows a dimishing returns curve approaching extremes, this method will split the given amounts into small 'grains', to ensure the value added properly traces the curve. More... | |
| void | addReputation_discrete (float reputation, TransactionReasons reason) |
| Unlike AddReputation, this method adds the given amount instantly. Use with caution, may cause values to jump around wildly More... | |
| override void | OnAwake () |
| override void | OnLoad (ConfigNode node) |
| override void | OnSave (ConfigNode node) |
| void | SetReputation (float value, TransactionReasons reason) |
Public Member Functions inherited from ScenarioModule | |
| void | Load (ConfigNode node) |
| void | Save (ConfigNode node) |
Static Public Attributes | |
| static Reputation | Instance |
| static float | RepRange = 1000f |
Properties | |
| static float | CurrentRep [get] |
| The current reputation, which ranges from -1000 to 1000 More... | |
| float | reputation [get] |
| static float | UnitRep [get] |
| The current 'unit' reputation. A value from -1 to 1 More... | |
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< GameScenes > | targetScenes |
|
inline |
Adds the given amount of Reputation. Because Reputation follows a dimishing returns curve approaching extremes, this method will split the given amounts into small 'grains', to ensure the value added properly traces the curve.
| reputation | |
| reason |
|
inline |
Unlike AddReputation, this method adds the given amount instantly. Use with caution, may cause values to jump around wildly
|
inlinevirtual |
Reimplemented from ScenarioModule.
|
inlinevirtual |
Reimplemented from ScenarioModule.
|
inlinevirtual |
Reimplemented from ScenarioModule.
|
inline |
|
static |
|
static |
|
staticget |
The current reputation, which ranges from -1000 to 1000
|
get |
|
staticget |
The current 'unit' reputation. A value from -1 to 1
1.8.7