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

Method SetStationaryModeState

Source/ALSXT/Private/AlsxtCharacter.cpp:2074–2086  ·  view source on GitHub ↗

Stationary Mode State

Source from the content-addressed store, hash-verified

2072
2073// Stationary Mode State
2074void AAlsxtCharacter::SetStationaryModeState(const FAlsxtStationaryModeState& NewStationaryModeState)
2075{
2076 const auto PreviousStationaryModeState{ StationaryModeState };
2077
2078 StationaryModeState = NewStationaryModeState;
2079
2080 OnStationaryModeStateChanged(PreviousStationaryModeState);
2081
2082 if ((GetLocalRole() == ROLE_AutonomousProxy) && IsLocallyControlled())
2083 {
2084 ServerSetStationaryModeState(NewStationaryModeState);
2085 }
2086}
2087
2088void AAlsxtCharacter::ServerSetStationaryModeState_Implementation(const FAlsxtStationaryModeState& NewStationaryModeState)
2089{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected