Changed V7 to No V7
This commit is contained in:
41
Source/Integration/IntegrationGameModeBase.h
Normal file
41
Source/Integration/IntegrationGameModeBase.h
Normal file
@@ -0,0 +1,41 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/GameModeBase.h"
|
||||
#include "enginewrapper.hpp"
|
||||
#include "engineutil.hpp"
|
||||
#include "IntegrationGameModeBase.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class INTEGRATION_API AIntegrationGameModeBase : public AGameModeBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
AIntegrationGameModeBase();
|
||||
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;
|
||||
};
|
||||
Reference in New Issue
Block a user