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

Method InputViewMode

Source/ALSXT/Private/AlsxtCharacter.cpp:1479–1489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1477}
1478
1479void AAlsxtCharacter::InputViewMode()
1480{
1481 const FGameplayTag PreviousViewMode{ GetViewMode() };
1482 auto DesiredViewMode{ FGameplayTag::EmptyTag };
1483 DesiredViewMode == (GetViewMode() == AlsViewModeTags::ThirdPerson ? AlsViewModeTags::FirstPerson : AlsViewModeTags::ThirdPerson);
1484 if (CanSetToViewMode(DesiredViewMode))
1485 {
1486 SetViewMode(GetViewMode() == AlsViewModeTags::ThirdPerson ? AlsViewModeTags::FirstPerson : AlsViewModeTags::ThirdPerson);
1487 OnViewModeChanged(PreviousViewMode);
1488 }
1489}
1490
1491// ReSharper disable once CppMemberFunctionMayBeConst
1492void AAlsxtCharacter::InputSwitchShoulder()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected