◆ Decrease()
void SCR_ScenarioFrameworkLogicCounter.Decrease |
( |
IEntity |
entity | ) |
|
Decreases the counter value by 1.
- Parameters
-
◆ GetCounterValue()
int SCR_ScenarioFrameworkLogicCounter.GetCounterValue |
( |
| ) |
|
◆ Increase()
void SCR_ScenarioFrameworkLogicCounter.Increase |
( |
IEntity |
entity | ) |
|
Increases the counter value by 1.
- Parameters
-
◆ OnInput()
override void SCR_ScenarioFrameworkLogicCounter.OnInput |
( |
bool |
pSignal = true , |
|
|
IEntity |
entity = null |
|
) |
| |
Increases entity or self based on input signal.
- Parameters
-
[in] | pSignal | Boolean flag indicating whether input signal is active or not. |
[in] | entity | Increases entity's value if entity is provided, else increases this entity's value. |
Implements SCR_ScenarioFrameworkLogic.
◆ Reset()
void SCR_ScenarioFrameworkLogicCounter.Reset |
( |
| ) |
|
◆ RestoreToDefault()
override void SCR_ScenarioFrameworkLogicCounter.RestoreToDefault |
( |
| ) |
|
◆ SetCounterValue()
void SCR_ScenarioFrameworkLogicCounter.SetCounterValue |
( |
int |
value | ) |
|
- Parameters
-
[in] | value | Sets counter value. |
◆ m_aOnDecreaseActions
◆ m_aOnIncreaseActions
◆ m_iCnt
int SCR_ScenarioFrameworkLogicCounter.m_iCnt = 0 |
◆ m_iCountTo
int SCR_ScenarioFrameworkLogicCounter.m_iCountTo |
The documentation for this interface was generated from the following file:
- Game/ScenarioFramework/Components/SCR_ScenarioFrameworkLogic.c