Navigation
API > API/Plugins > API/Plugins/WorldConditionsTestSuite
Inheritance Hierarchy
- FWorldConditionBase
- FWorldConditionTest
References
| Module | WorldConditionsTestSuite |
| Header | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditionsTestSuite/Public/WorldConditionTestTypes.h |
| Include | #include "WorldConditionTestTypes.h" |
Syntax
USTRUCT&40;Meta&61;&40;Hidden&41;&41;
struct FWorldConditionTest : public FWorldConditionBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bActivateResult | ||
| int32 | TestValue | ||
| FWorldConditionContextDataRef | ValueRef |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWorldConditionTest
(
const int32 InTestValue, |
Overridden from FWorldConditionBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Activate
(
const FWorldConditionContext& Context |
Called to activate the condition. | |
| void | Deactivate
(
const FWorldConditionContext& Context |
Called to deactivate the condition. | |
| FText | Description to be shown in the UI. | ||
| TObjectPtr< const UStruct > * | |||
| bool | Initialize
(
const UWorldConditionSchema& Schema |
Initializes the condition to be used with a specific schema. | |
| FWorldConditionResult | IsTrue
(
const FWorldConditionContext& Context |
Called to check the condition state. |