| 312 | } |
| 313 | |
| 314 | void FDlgSystemModule::HandleOnPreLoadMap(const FString& MapName) |
| 315 | { |
| 316 | // NOTE: only in NON editor game |
| 317 | const UDlgSystemSettings* Settings = GetDefault<UDlgSystemSettings>(); |
| 318 | if (!Settings) |
| 319 | { |
| 320 | return; |
| 321 | } |
| 322 | |
| 323 | if (Settings->bClearDialogueHistoryAutomatically) |
| 324 | { |
| 325 | FDlgLogger::Get().Debugf(TEXT("PreLoadMap = %s. Clearing Dialogue History"), *MapName); |
| 326 | UDlgManager::ClearDialogueHistory(); |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | void FDlgSystemModule::HandleOnPostLoadMapWithWorld(UWorld* LoadedWorld) |
| 331 | { |
nothing calls this directly
no outgoing calls
no test coverage detected