MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / RegisterComponent

Method RegisterComponent

Source/Flow/Private/FlowSubsystem.cpp:480–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480void UFlowSubsystem::RegisterComponent(UFlowComponent* Component)
481{
482 for (const FGameplayTag& Tag : Component->IdentityTags)
483 {
484 if (Tag.IsValid())
485 {
486 FlowComponentRegistry.Emplace(Tag, Component);
487 }
488 }
489
490 OnComponentRegistered.Broadcast(Component);
491}
492
493void UFlowSubsystem::OnIdentityTagAdded(UFlowComponent* Component, const FGameplayTag& AddedTag)
494{

Callers 2

Calls 1

IsValidMethod · 0.80

Tested by

no test coverage detected