// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "GameFramework/GameModeBase.h" #include "enginewrapper.hpp" #include "engineutil.hpp" #include "IntegrationV7GameModeBase.generated.h" /** * */ UCLASS() class INTEGRATIONV7_API AIntegrationV7GameModeBase : public AGameModeBase { GENERATED_BODY() public: AIntegrationV7GameModeBase(); virtual void BeginPlay() override; virtual void Tick(float) override; inline bool luprex_initialized() { return Luprex.play_initialize != nullptr; } // Set the entire contents of the console output box. UFUNCTION(BlueprintImplementableEvent) void ConsoleSetOutput(const FString& text); UFUNCTION(BlueprintCallable) void ConsoleSendInput(const FString& text); void HandleConsoleOutput(); // Refresh the console output. engineutil::ConsoleOutput ConsoleOutput; static EngineWrapper Luprex; float EngineSeconds; };