Stationary Mode State
| 2072 | |
| 2073 | // Stationary Mode State |
| 2074 | void 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 | |
| 2088 | void AAlsxtCharacter::ServerSetStationaryModeState_Implementation(const FAlsxtStationaryModeState& NewStationaryModeState) |
| 2089 | { |
nothing calls this directly
no outgoing calls
no test coverage detected