2.9.16.0
Coherent GT for UE4
UCoherentUIGTJSEvent Class Reference
+ Inheritance diagram for UCoherentUIGTJSEvent:

Classes

struct  FBoundArrayData
 
struct  FBoundStructArg
 
struct  FVariablePair
 

Public Types

enum  EVariableType {
  VT_Int32, VT_Float, VT_Bool, VT_String,
  VT_Struct, VT_Object, VT_Array, VT_Count
}
 

Public Member Functions

void AddByte (uint8 byte)
 
void AddInt32 (int32 integer)
 
void AddString (const FString &str)
 
void AddName (const FName &name)
 
void AddText (const FText &text)
 
void AddFloat (float fl)
 
void AddBool (bool b)
 
void AddStructArg (const TFieldPath< FStructProperty > Arg)
 
void AddObject (UObject *object)
 
void AddArray (const TArray< int32 > &Array)
 
void AddArrayInternal (void *Array, EVariableType ArrayType)
 
void AddArrayOfStructsInternal (void *Array, UStruct *StructType)
 
void AddStructInternal (const COH_PROP(StructProperty) *PropertyType, void *ArgAddress)
 
 DECLARE_FUNCTION (execAddArray)
 
 DECLARE_FUNCTION (execAddStructArg)
 
virtual void BeginDestroy ()
 

Public Attributes

TArray< int32 > Ints
 
TArray< FString > Strings
 
TArray< float > Floats
 
TArray< bool > Bools
 
TArray< TWeakObjectPtr< UObject > > Objects
 
TArray< FBoundStructArgStructArgs
 
TArray< FBoundArrayDataArrays
 
TArray< FVariablePairOrderedVariables
 
TArray< const UStruct * > StructTypes
 

Detailed Description

The class represents an event triggered by the game that will be processed in the JavaScript of the View. Use this class to pass parameters to JavaScript.

Member Function Documentation

◆ AddArray()

void UCoherentUIGTJSEvent::AddArray ( const TArray< int32 > &  Array)

Adds an Array of a bindable type parameter to the event

◆ AddArrayInternal()

void UCoherentUIGTJSEvent::AddArrayInternal ( void *  Array,
EVariableType  ArrayType 
)

Adds an TArray parameter to the event. Clients should never call directly this.

◆ AddBool()

void UCoherentUIGTJSEvent::AddBool ( bool  b)

Adds a Boolean parameter to the event

◆ AddByte()

void UCoherentUIGTJSEvent::AddByte ( uint8  byte)

Adds a Byte parameter to the event

◆ AddFloat()

void UCoherentUIGTJSEvent::AddFloat ( float  fl)

Adds a Float parameter to the event

◆ AddInt32()

void UCoherentUIGTJSEvent::AddInt32 ( int32  integer)

Adds an Integer parameter to the event

◆ AddName()

void UCoherentUIGTJSEvent::AddName ( const FName &  name)

Adds a Name parameter to the event

◆ AddObject()

void UCoherentUIGTJSEvent::AddObject ( UObject *  object)

Adds an Object parameter to the event

◆ AddString()

void UCoherentUIGTJSEvent::AddString ( const FString &  str)

Adds a String parameter to the event

◆ AddStructArg()

void UCoherentUIGTJSEvent::AddStructArg ( const TFieldPath< FStructProperty >  Arg)

Adds an instance of UStruct to the event

◆ AddText()

void UCoherentUIGTJSEvent::AddText ( const FText &  text)

Adds a Text parameter to the event