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

Method OnIdentityTagRemoved

Source/Flow/Private/FlowSubsystem.cpp:539–552  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

537}
538
539void UFlowSubsystem::OnIdentityTagRemoved(UFlowComponent* Component, const FGameplayTag& RemovedTag)
540{
541 FlowComponentRegistry.Remove(RemovedTag, Component);
542
543 // broadcast OnComponentUnregistered only if this component isn't present in the registry anymore
544 if (Component->IdentityTags.Num() > 0)
545 {
546 OnComponentTagRemoved.Broadcast(Component, FGameplayTagContainer(RemovedTag));
547 }
548 else
549 {
550 OnComponentUnregistered.Broadcast(Component);
551 }
552}
553
554void UFlowSubsystem::OnIdentityTagsRemoved(UFlowComponent* Component, const FGameplayTagContainer& RemovedTags)
555{

Callers 1

RemoveIdentityTagMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected