Navigation
API > API/Plugins > API/Plugins/WorldConditions
Inheritance Hierarchy
- FWorldConditionBase
- FSmartObjectWorldConditionBase
- FSmartObjectWorldConditionObjectTagQuery
- FSmartObjectWorldConditionSlotTagQuery
- FWorldCondition_SmartObjectActorTagQuery
- FWorldConditionCommonActorBase
- FWorldConditionCommonBase
- FWorldConditionTest
- FWorldConditionTestCached
References
| Module | WorldConditions |
| Header | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditions/Public/WorldConditionBase.h |
| Include | #include "WorldConditionBase.h" |
Syntax
USTRUCT&40;Meta&61;&40;Hidden&41;&41;
struct FWorldConditionBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bCanCacheResult | Set to true if the result of the IsTrue() can be cached. | |
| uint8: 1 | bInvert | Controls whether the value of the expressions as calculated by IsTrue should be inverted. | |
| uint8: 1 | bIsStateObject | Used Internally, true if the condition has Object state. | |
| uint8 | ConditionIndex | Used internally, Index of the condition in the definition and state storage. | |
| uint8 | NextExpressionDepth | Depth controlling the parenthesis of the expression. | |
| EWorldConditionOperator | Operator | Operator describing how the results of the condition is combined with other conditions. | |
| uint16 | StateDataOffset | Used internally, Offset of the data in the State storage. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Activate
(
const FWorldConditionContext& Context |
Called to activate the condition. | |
| void | Deactivate
(
const FWorldConditionContext& Context |
Called to deactivate the condition. | |
| uint8 | |||
| FText | Description to be shown in the UI. | ||
| uint8 | |||
| EWorldConditionOperator | GetOperator () |
||
| TObjectPtr< const UStruct > * | |||
| uint16 | |||
| bool | Initialize
(
const UWorldConditionSchema& Schema |
Initializes the condition to be used with a specific schema. | |
| bool | |||
| FWorldConditionResult | IsTrue
(
const FWorldConditionContext& Context |
Called to check the condition state. | |
| bool |