Navigation
API > API/Plugins > API/Plugins/WorldConditions
Definition of a world condition. The mutable state of the world condition is stored in FWorldConditionQueryState. This allows to reuse the definitions and minimize the runtime memory needed to run queries.
| Name | FWorldConditionQueryDefinition |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/WorldConditions/Source/WorldConditions/Public/WorldConditionQuery.h |
| Include Path | #include "WorldConditionQuery.h" |
Syntax
USTRUCT ()
struct FWorldConditionQueryDefinition
Enums
Public
| Name | Remarks |
|---|---|
| EInitializationMode |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditableConditions | TArray< FWorldConditionEditable > | Conditions used while editing, converted in to Conditions via Initialize(). | WorldConditionQuery.h |
|
| SchemaClass | TSubclassOf< UWorldConditionSchema > | Schema of the definition, also stored in SharedDefinition. | WorldConditionQuery.h | |
| SharedDefinition | FSharedStruct | The definition used to initialize and execute world conditions. | WorldConditionQuery.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddCondition
(
const FWorldConditionEditable& NewCondition |
Adds a single condition to the definition. | WorldConditionQuery.h | |
void AddStructReferencedObjects
(
FReferenceCollector& Collector |
WorldConditionQuery.h | ||
bool ExportTextItem
(
FString& ValueStr, |
WorldConditionQuery.h | ||
FText GetDescription() |
@returs description of the query expression. | WorldConditionQuery.h | |
TSubclassOf< UWorldConditionSchema > GetSchemaClass() |
WorldConditionQuery.h | ||
FWorldConditionQuerySharedDefinition * GetSharedDefinition() |
WorldConditionQuery.h | ||
FSharedStruct GetSharedDefinitionStruct() |
WorldConditionQuery.h | ||
bool Identical
(
const FWorldConditionQueryDefinition* Other, |
WorldConditionQuery.h | ||
bool ImportTextItem
(
const TCHAR*& Buffer, |
WorldConditionQuery.h | ||
bool Initialize
(
const UObject* Outer, |
Initialized the condition from editable data. | WorldConditionQuery.h | |
bool Initialize
(
const UObject* Outer, |
Initialized the condition with specific data. | WorldConditionQuery.h | |
bool IsValid() |
WorldConditionQuery.h | ||
bool Serialize
(
FArchive& Ar |
WorldConditionQuery.h | ||
void SetSchemaClass
(
const TSubclassOf< UWorldConditionSchema > InSchema |
Sets the schema class that is used to create the conditions. | WorldConditionQuery.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool TryRetargetingPathToConditions
(
FPropertyBindingPath& InOutPath |
WorldConditionQuery.h |