| 602 | // --- Recording / replay --- |
| 603 | |
| 604 | void AAMjManager::StartRecording() |
| 605 | { |
| 606 | AMjReplayManager* ReplayMgr = Cast<AMjReplayManager>(UGameplayStatics::GetActorOfClass(GetWorld(), AMjReplayManager::StaticClass())); |
| 607 | if (ReplayMgr) |
| 608 | { |
| 609 | ReplayMgr->StartRecording(); |
| 610 | UE_LOG(LogURLab, Log, TEXT("StartRecording called on ReplayManager.")); |
| 611 | } |
| 612 | else |
| 613 | { |
| 614 | UE_LOG(LogURLab, Warning, TEXT("ReplayManager not found in scene!")); |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | void AAMjManager::StopRecording() |
| 619 | { |
nothing calls this directly
no outgoing calls
no test coverage detected