Public Member Functions | |
FString | GetString (int32 index) |
int32 | GetInt32 (int32 index) |
uint32 | GetUInt32 (int32 index) |
bool | GetBool (int32 index) |
float | GetNumber (int32 index) |
void | ReadObject (int32 index, UObject *object) |
void | SetArguments (const Coherent::UIGT::EventArguments *args) |
Public Attributes | |
FString | EventName |
The class represents data passed by JavaScript to the application. Use this class to unpack parameters passed from JavaScript to the application.
bool UCoherentUIGTJSPayload::GetBool | ( | int32 | index | ) |
Gets a Boolean parameter passed from JavaScript
index | the index of the parameter |
int32 UCoherentUIGTJSPayload::GetInt32 | ( | int32 | index | ) |
Gets an Integer parameter passed from JavaScript
index | the index of the parameter |
float UCoherentUIGTJSPayload::GetNumber | ( | int32 | index | ) |
Gets a Float parameter passed from JavaScript
index | the index of the parameter |
FString UCoherentUIGTJSPayload::GetString | ( | int32 | index | ) |
Gets a String parameter passed from JavaScript
index | the index of the parameter |
uint32 UCoherentUIGTJSPayload::GetUInt32 | ( | int32 | index | ) |
Gets an Unsigned Integer parameter passed from JavaScript
index | the index of the parameter |
void UCoherentUIGTJSPayload::ReadObject | ( | int32 | index, |
UObject * | object | ||
) |
Reads an Object passed from JavaScript and updates the properties of the UObject passed. All properties that have the same name and compatible type will be updated.
index | the index of the parameter |
object | the object whose properties to update |
FString UCoherentUIGTJSPayload::EventName |
The name of the event triggered from JavaScript