1.26.2.1
Prysm for UE4
UCohtmlJSEvent Class Reference
+ Inheritance diagram for UCohtmlJSEvent:

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 UCohtmlJSEvent::AddArray ( const TArray< int32 > &  Array)

Adds an Array of a bindable type parameter to the event

◆ AddArrayInternal()

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

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

◆ AddBool()

void UCohtmlJSEvent::AddBool ( bool  b)

Adds a Boolean parameter to the event

◆ AddByte()

void UCohtmlJSEvent::AddByte ( uint8  byte)

Adds a Byte parameter to the event

◆ AddFloat()

void UCohtmlJSEvent::AddFloat ( float  fl)

Adds a Float parameter to the event

◆ AddInt32()

void UCohtmlJSEvent::AddInt32 ( int32  integer)

Adds an Integer parameter to the event

◆ AddName()

void UCohtmlJSEvent::AddName ( const FName &  name)

Adds a Name parameter to the event

◆ AddObject()

void UCohtmlJSEvent::AddObject ( UObject *  object)

Adds an Object parameter to the event

◆ AddString()

void UCohtmlJSEvent::AddString ( const FString &  str)

Adds a String parameter to the event

◆ AddStructArg()

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

Adds an instance of UStruct to the event

◆ AddText()

void UCohtmlJSEvent::AddText ( const FText &  text)

Adds a Text parameter to the event