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

Method SetAimState

Source/ALSXT/Private/AlsxtCharacter.cpp:2892–2904  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2890void AAlsxtCharacter::OnDefensiveModeChanged_Implementation(const FGameplayTag& PreviousDefensiveModeTag) {}
2891
2892void AAlsxtCharacter::SetAimState(const FAlsxtAimState& NewAimState)
2893{
2894 const auto PreviousAimState{ AimState };
2895
2896 AimState = NewAimState;
2897
2898 OnAimStateChanged(PreviousAimState);
2899
2900 if ((GetLocalRole() == ROLE_AutonomousProxy) && IsLocallyControlled())
2901 {
2902 ServerSetAimState(NewAimState);
2903 }
2904}
2905
2906void AAlsxtCharacter::ServerSetAimState_Implementation(const FAlsxtAimState& NewAimState)
2907{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected