2022-05-23 18:41:30 +00:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "GameFramework/CheatManager.h"
|
2022-09-13 07:18:28 +00:00
|
|
|
#include "UObject/UObjectGlobals.h"
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
#include "LyraBotCheats.generated.h"
|
|
|
|
|
|
|
|
class ULyraBotCreationComponent;
|
2022-09-13 07:18:28 +00:00
|
|
|
class UObject;
|
|
|
|
struct FFrame;
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
/** 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;
|
|
|
|
};
|