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

#include <ArticyScriptFragment.h>

Inheritance diagram for UArticyScriptInstruction:
UArticyScriptFragment IArticyInstructionProvider UArticyPrimitive UArticyBaseObject IArticyReflectable

Public Member Functions

void Execute (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 ()
UArticyPrimitiveGetSubobject (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 instruction that executes an expression.

Member Function Documentation

◆ Execute()

void UArticyScriptInstruction::Execute ( class UArticyGlobalVariables * GV = nullptr,
class UObject * MethodProvider = nullptr )
overridevirtual

Executes the script instruction.

Parameters
GVA pointer to the global variables used for execution.
MethodProviderA pointer to the method provider object.

Executes the script instruction. This method uses the Expresso instance to execute the instruction based on the expression hash.

Parameters
GVA pointer to the global variables used for execution.
MethodProviderA pointer to the method provider object.

Reimplemented from IArticyInstructionProvider.


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