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

Method SetVaultingState

Source/ALSXT/Private/AlsxtCharacter.cpp:2041–2053  ·  view source on GitHub ↗

Vaulting State

Source from the content-addressed store, hash-verified

2039
2040// Vaulting State
2041void AAlsxtCharacter::SetVaultingState(const FAlsxtVaultingState& NewVaultingState)
2042{
2043 const auto PreviousVaultingState{ VaultingState };
2044
2045 VaultingState = NewVaultingState;
2046
2047 OnVaultingStateChanged(PreviousVaultingState);
2048
2049 if ((GetLocalRole() == ROLE_AutonomousProxy) && IsLocallyControlled())
2050 {
2051 ServerSetVaultingState(NewVaultingState);
2052 }
2053}
2054
2055void AAlsxtCharacter::ServerSetVaultingState_Implementation(const FAlsxtVaultingState& NewVaultingState)
2056{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected