8#include "CoreMinimal.h"
9#include "GameFramework/GameModeBase.h"
10#include "Blueprint/UserWidget.h"
11#include "Templates/SubclassOf.h"
15#include "AgrarsenseGameModeBase.generated.h"
41 UFUNCTION(BlueprintCallable)
51 UFUNCTION(BlueprintCallable)
61 UFUNCTION(BlueprintCallable, BlueprintPure)
64 return SimulationLevelManager;
71 UFUNCTION(BlueprintCallable, BlueprintPure)
74 return InstancedRenderer;
81 UFUNCTION(BlueprintCallable, BlueprintPure)
91 UFUNCTION(BlueprintCallable, BlueprintPure)
101 UFUNCTION(BlueprintCallable)
111 UPROPERTY(Category =
"Agrarsense Game Mode", EditAnywhere)
118 UPROPERTY(Category = "
Agrarsense Game Mode", EditAnywhere)
119 TSubclassOf<UUserWidget> DeveloperTools;
125 UPROPERTY(Category = "
Agrarsense Game Mode", EditAnywhere)
133 void InitGame(const FString& MapName, const FString& Options, FString& ErrorMessage) override;
143 void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
150 void ParseMapChangeLaunchArgument();
156 void SpawnNeededActorsInitGame();
162 void SpawnNeededActorsBeginPlay();
165 void EditorEndPlayCleanup();
static bool AttemptToLaunchROSBridge
static bool StartMessageLogged
virtual void BeginPlay() override
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override