| 168 | } |
| 169 | |
| 170 | void 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 | |
| 193 | void UFlowComponent::RemoveIdentityTags(FGameplayTagContainer Tags, const EFlowNetMode NetMode /* = EFlowNetMode::Authority*/) |
| 194 | { |
nothing calls this directly
no test coverage detected