UCohtmlBlueprintFunctionLibrary

Inherits from UBlueprintFunctionLibrary

Public Functions

Name
UCohtmlJSEvent *CreateJSEvent(UObject * WorldContextObject)
voidAddByte(UCohtmlJSEvent * JSEvent, uint8 Arg)
voidAddInt32(UCohtmlJSEvent * JSEvent, int32 Arg)
voidAddString(UCohtmlJSEvent * JSEvent, const FString & Arg)
voidAddFloat(UCohtmlJSEvent * JSEvent, float Arg)
voidAddBool(UCohtmlJSEvent * JSEvent, bool Arg)
voidAddObject(UCohtmlJSEvent * JSEvent, UObject * Arg)
voidAddStructArg(UCohtmlJSEvent * JSEvent, const TFieldPath< FStructProperty > Arg)
voidAddArray(UCohtmlJSEvent * JSEvent, const TArray< int32 > & Arg, int32 ArrayType)
voidAddArrayOfStructs(UCohtmlJSEvent * JSEvent, const TArray< int32 > & Arg)
voidTriggerJSEvent(class UCohtmlBaseComponent * Component, const FString & EventName, UCohtmlJSEvent * JSEvent)
DECLARE_FUNCTION(execAddStructArg )
DECLARE_FUNCTION(execAddArrayOfStructs )

Public Functions Documentation

function CreateJSEvent

static UCohtmlJSEvent * CreateJSEvent(
    UObject * WorldContextObject
)

Creates a UCohtmlJSEvent object

function AddByte

static void AddByte(
    UCohtmlJSEvent * JSEvent,
    uint8 Arg
)

Adds a Byte parameter to the event

function AddInt32

static void AddInt32(
    UCohtmlJSEvent * JSEvent,
    int32 Arg
)

Adds an Integer parameter to the event

function AddString

static void AddString(
    UCohtmlJSEvent * JSEvent,
    const FString & Arg
)

Adds a String parameter to the event

function AddFloat

static void AddFloat(
    UCohtmlJSEvent * JSEvent,
    float Arg
)

Adds a Float parameter to the event

function AddBool

static void AddBool(
    UCohtmlJSEvent * JSEvent,
    bool Arg
)

Adds a Boolean parameter to the event

function AddObject

static void AddObject(
    UCohtmlJSEvent * JSEvent,
    UObject * Arg
)

Adds an Object parameter to the event

function AddStructArg

static void AddStructArg(
    UCohtmlJSEvent * JSEvent,
    const TFieldPath< FStructProperty > Arg
)

Adds an instance of UStruct to the event

function AddArray

static void AddArray(
    UCohtmlJSEvent * JSEvent,
    const TArray< int32 > & Arg,
    int32 ArrayType
)

Adds an Array of a bindable type to the event

function AddArrayOfStructs

static void AddArrayOfStructs(
    UCohtmlJSEvent * JSEvent,
    const TArray< int32 > & Arg
)

Adds an Array of UStruct instances to the event

function TriggerJSEvent

static void TriggerJSEvent(
    class UCohtmlBaseComponent * Component,
    const FString & EventName,
    UCohtmlJSEvent * JSEvent
)

Invokes the specified event on the component with arguments coming from JSEvent

function DECLARE_FUNCTION

inline DECLARE_FUNCTION(
    execAddStructArg 
)

function DECLARE_FUNCTION

inline DECLARE_FUNCTION(
    execAddArrayOfStructs 
)