RealtimeStyleTransferRuntime/Source/LyraGame/Development/LyraBotCheats.h

32 lines
648 B
C
Raw Normal View History

2022-05-23 18:41:30 +00:00
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/CheatManager.h"
#include "LyraBotCheats.generated.h"
class ULyraBotCreationComponent;
/** Cheats related to bots */
UCLASS(NotBlueprintable)
class ULyraBotCheats final : public UCheatManagerExtension
{
GENERATED_BODY()
public:
ULyraBotCheats();
// Adds a bot player
UFUNCTION(Exec, BlueprintAuthorityOnly)
void AddPlayerBot();
// Removes a random bot player
UFUNCTION(Exec, BlueprintAuthorityOnly)
void RemovePlayerBot();
private:
ULyraBotCreationComponent* GetBotComponent() const;
};