Navigation
API > API/Plugins > API/Plugins/UAF
Asset instance component supplying user-authored scripting.
| Name | FUAFScriptComponent |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/Script/UAFScriptComponent.h |
| Include Path | #include "Script/UAFScriptComponent.h" |
Syntax
USTRUCT (Meta=(Hidden, Abstract))
struct FUAFScriptComponent : public FUAFAssetInstanceComponent
Inheritance Hierarchy
- FUAFAssetInstanceComponent → FUAFScriptComponent
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CallEvent
(
const UE::UAF::FScriptEvent& InEvent, |
Call an event on this script component given the cached FScriptEvent. | Script/UAFScriptComponent.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CallEventByName
(
TConstStructView< FUAFScriptContextData > InContextData |
Call an event with just its name, left up to derived components to implement (usually slower due to lookup) | Script/UAFScriptComponent.h | |
virtual TConstArrayView< UE::UAF::FScriptEventInfo > GetScriptEvents() |
Get info about all script events that are implemented in this component. | Script/UAFScriptComponent.h |
Overridden from FUAFAssetInstanceComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UScriptStruct * GetScriptStruct() |
Get the UScriptStruct of this component, must be overriden in derived structs (use DECLARE_UAF_ASSET_INSTANCE_COMPONENT) | Script/UAFScriptComponent.h |