MCPcopy Create free account
hub / github.com/Voidware-Prohibited/ALSXT / SetLocomotionVariant

Method SetLocomotionVariant

Source/ALSXT/Private/AlsxtCharacter.cpp:2573–2584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2571}
2572
2573void AAlsxtCharacter::SetLocomotionVariant(const FGameplayTag& NewLocomotionVariantTag)
2574{
2575
2576 if (LocomotionVariant != NewLocomotionVariantTag)
2577 {
2578 const auto PreviousLocomotionVariant{ LocomotionVariant };
2579
2580 LocomotionVariant = NewLocomotionVariantTag;
2581
2582 OnLocomotionVariantChanged(PreviousLocomotionVariant);
2583 }
2584}
2585
2586void AAlsxtCharacter::OnLocomotionVariantChanged_Implementation(const FGameplayTag& PreviousLocomotionVariantTag) {}
2587

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected