// Copyright Epic Games, Inc. All Rights Reserved. #include "SceneStateEventSchemaHandle.h" #include "SceneStateEventSchema.h" #include "SceneStateEventSchemaCollection.h" #include "StructUtils/StructView.h" #include "StructUtils/UserDefinedStruct.h" UUserDefinedStruct* FSceneStateEventSchemaHandle::GetEventStruct() const { return EventStruct.LoadSynchronous(); } USceneStateEventSchemaObject* FSceneStateEventSchemaHandle::GetEventSchema() const { return EventSchema.LoadSynchronous(); } FStructView FSceneStateEventSchemaHandle::GetDefaultDataView() const { if (UUserDefinedStruct* Struct = GetEventStruct()) { return FStructView(Struct, const_cast(Struct->GetDefaultInstance())); } return FStructView(); }