| 44 | #include UE_INLINE_GENERATED_CPP_BY_NAME(FlowAsset) |
| 45 | |
| 46 | UFlowAsset::UFlowAsset(const FObjectInitializer& ObjectInitializer) |
| 47 | : Super(ObjectInitializer) |
| 48 | , bWorldBound(true) |
| 49 | #if WITH_EDITORONLY_DATA |
| 50 | , FlowGraph(nullptr) |
| 51 | #endif |
| 52 | , AllowedNodeClasses({UFlowNodeBase::StaticClass()}) |
| 53 | , AllowedInSubgraphNodeClasses({UFlowNode_SubGraph::StaticClass()}) |
| 54 | , bStartNodePlacedAsGhostNode(false) |
| 55 | , TemplateAsset(nullptr) |
| 56 | , FinishPolicy(EFlowFinishPolicy::Keep) |
| 57 | { |
| 58 | if (!AssetGuid.IsValid()) |
| 59 | { |
| 60 | AssetGuid = FGuid::NewGuid(); |
| 61 | } |
| 62 | |
| 63 | ExpectedOwnerClass = GetDefault<UFlowSettings>()->GetDefaultExpectedOwnerClass(); |
| 64 | } |
| 65 | |
| 66 | #if WITH_EDITOR |
| 67 | void UFlowAsset::AddReferencedObjects(UObject* InThis, FReferenceCollector& Collector) |
nothing calls this directly
no test coverage detected