Alexhas2's picture
Add files using upload-large-folder tool
1e67697 verified
Raw
History Blame Contribute Delete
964 Bytes
// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/CheatManager.h"
#include "LyraCosmeticCheats.generated.h"
class ULyraControllerComponent_CharacterParts;
class UObject;
struct FFrame;
/** Cheats related to bots */
UCLASS(NotBlueprintable)
class ULyraCosmeticCheats final : public UCheatManagerExtension
{
GENERATED_BODY()
public:
ULyraCosmeticCheats();
// Adds a character part
UFUNCTION(Exec, BlueprintAuthorityOnly)
void AddCharacterPart(const FString& AssetName, bool bSuppressNaturalParts = true);
// Replaces previous cheat parts with a new one
UFUNCTION(Exec, BlueprintAuthorityOnly)
void ReplaceCharacterPart(const FString& AssetName, bool bSuppressNaturalParts = true);
// Clears any existing cheats
UFUNCTION(Exec, BlueprintAuthorityOnly)
void ClearCharacterPartOverrides();
private:
ULyraControllerComponent_CharacterParts* GetCosmeticComponent() const;
};