32 lines
784 B
C++
32 lines
784 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/CheatManager.h"
|
|
#include "EleriCheatManager.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class PROJECTELERI_API UEleriCheatManager : public UCheatManager
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UFUNCTION(Exec, meta = (OverrideNativeName = "Eleri.ToggleTime"))
|
|
void ToggleTimeOfDay(bool bActive);
|
|
|
|
UFUNCTION(Exec, meta = (OverrideNativeName = "Eleri.SetTimeOfDaySpeed"))
|
|
void SetTimeOfDaySpeed(float NewSpeed);
|
|
|
|
UFUNCTION(Exec, meta = (OverrideNativeName = "Eleri.SetTimeOfDay"))
|
|
void SetTimeOfDay(float NewTime);
|
|
|
|
UFUNCTION(Exec, meta = (OverrideNativeName = "Eleri.ToggleActorRendering"))
|
|
void ToggleActorRendering(const FString& ActorTag) const;
|
|
|
|
};
|