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

Method RemoveIdentityTag

Source/Flow/Private/FlowComponent.cpp:170–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void UFlowComponent::RemoveIdentityTag(const FGameplayTag Tag, const EFlowNetMode NetMode /* = EFlowNetMode::Authority*/)
171{
172 if (IsFlowNetMode(NetMode) && Tag.IsValid() && IdentityTags.HasTagExact(Tag))
173 {
174 IdentityTags.RemoveTag(Tag);
175#if WITH_PUSH_MODEL
176 if (GetNetMode() < NM_Client)
177 {
178 MARK_PROPERTY_DIRTY_FROM_NAME(UFlowComponent, IdentityTags, this);
179 }
180#endif
181 if (HasBegunPlay())
182 {
183 OnIdentityTagsRemoved.Broadcast(this, FGameplayTagContainer(Tag));
184
185 if (UFlowSubsystem* FlowSubsystem = GetFlowSubsystem())
186 {
187 FlowSubsystem->OnIdentityTagRemoved(this, Tag);
188 }
189 }
190 }
191}
192
193void UFlowComponent::RemoveIdentityTags(FGameplayTagContainer Tags, const EFlowNetMode NetMode /* = EFlowNetMode::Authority*/)
194{

Callers

nothing calls this directly

Calls 2

IsValidMethod · 0.80
OnIdentityTagRemovedMethod · 0.80

Tested by

no test coverage detected