8#include "CoreMinimal.h"
9#include "GameFramework/GameModeBase.h"
10#include "Blueprint/UserWidget.h"
11#include "Templates/SubclassOf.h"
15#include "AgrarsenseGameModeBase.generated.h"
45 UFUNCTION(BlueprintCallable)
55 UFUNCTION(BlueprintCallable)
65 UFUNCTION(BlueprintCallable, BlueprintPure)
68 return SimulationLevelManager;
75 UFUNCTION(BlueprintCallable, BlueprintPure)
78 return InstancedRenderer;
85 UFUNCTION(BlueprintCallable, BlueprintPure)
95 UFUNCTION(BlueprintCallable, BlueprintPure)
105 UFUNCTION(BlueprintCallable)
115 UPROPERTY(Category =
"Agrarsense Game Mode", EditAnywhere)
122 UPROPERTY(Category = "
Agrarsense Game Mode", EditAnywhere)
123 TSubclassOf<UUserWidget> DeveloperTools;
129 UPROPERTY(Category = "
Agrarsense Game Mode", EditAnywhere)
137 void InitGame(const FString& MapName, const FString& Options, FString& ErrorMessage) override;
147 void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
154 void ParseMapChangeLaunchArgument();
160 void SpawnNeededActorsInitGame();
166 void SpawnNeededActorsBeginPlay();
169 void EditorEndPlayCleanup();
196 static
bool AttemptToLaunchROSBridge;
198 static
bool StartMessageLogged;
200 static
bool MapChanged;
virtual void BeginPlay() override
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override