ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
UArticyScriptCondition Class Reference

#include <ArticyScriptFragment.h>

Inheritance diagram for UArticyScriptCondition:
UArticyScriptFragment IArticyConditionProvider UArticyPrimitive UArticyBaseObject IArticyReflectable

Public Member Functions

bool Evaluate (class UArticyGlobalVariables *GV=nullptr, class UObject *MethodProvider=nullptr) override
 
- Public Member Functions inherited from UArticyScriptFragment
const FString & GetExpression () const
 
- Public Member Functions inherited from UArticyPrimitive
FArticyId GetId () const
 
uint32 GetCloneId () const
 
void SetCloneID (uint32 cCloneId)
 
- Public Member Functions inherited from UArticyBaseObject
bool WasLoaded () const
 
void Initialize ()
 
UArticyPrimitive * GetSubobject (FArticyId Id) const
 
FArticyType GetArticyType () const
 
- Public Member Functions inherited from IArticyReflectable
template<typename TValue>
TValue SetProp (FName Property, TValue Value, int32 ArrayIndex=0)
 
template<typename TValue>
TValue & GetProp (FName Property, int32 ArrayIndex=0)
 
template<typename TValue>
const TValue & GetProp (FName Property, int32 ArrayIndex=0) const
 
template<typename TValue>
TValue * GetPropPtr (FName Property, int32 ArrayIndex=0) const
 
FProperty * GetProperty (FName Property) const
 
virtual UClass * GetObjectClass () const
 

Additional Inherited Members

- Static Public Member Functions inherited from IArticyReflectable
static bool HasProperty (const UClass *Class, const FName &Property)
 
- Public Attributes inherited from UArticyBaseObject
FArticyType ArticyType
 
- Public Attributes inherited from IArticyReflectable
FReportChangedDelegate ReportChanged
 
- Protected Member Functions inherited from UArticyScriptFragment
int GetExpressionHash () const
 
void InitFromJson (TSharedPtr< FJsonValue > Json) override
 
- Protected Member Functions inherited from UArticyBaseObject
void AddSubobject (UArticyPrimitive *Obj)
 
FText GetPropertyText (const FText Property)
 
- Protected Attributes inherited from UArticyScriptFragment
FString Expression = ""
 
- Protected Attributes inherited from UArticyPrimitive
FArticyId Id
 
int32 CloneId = 0
 
- Protected Attributes inherited from UArticyBaseObject
TMap< FArticyId, UArticyPrimitive * > Subobjects
 

Detailed Description


A script condition that evaluates an expression.

Member Function Documentation

◆ Evaluate()

bool UArticyScriptCondition::Evaluate ( class UArticyGlobalVariables * GV = nullptr,
class UObject * MethodProvider = nullptr )
overridevirtual

Evaluates the script condition.

Parameters
GVA pointer to the global variables used for evaluation.
MethodProviderA pointer to the method provider object.
Returns
True if the condition evaluates to true, false otherwise.

Evaluates the script condition. This method uses the Expresso instance to evaluate the condition expression hash.

Parameters
GVA pointer to the global variables used for evaluation.
MethodProviderA pointer to the method provider object.
Returns
True if the condition evaluates to true, false otherwise.

Reimplemented from IArticyConditionProvider.


The documentation for this class was generated from the following files: