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 "HAL/Platform.h"
|
|
|
|
#include "UObject/UObjectGlobals.h"
|
2022-05-23 18:41:30 +00:00
|
|
|
|
|
|
|
#include "LyraTeamCheats.generated.h"
|
|
|
|
|
2022-09-13 07:18:28 +00:00
|
|
|
class UObject;
|
|
|
|
struct FFrame;
|
|
|
|
|
2022-05-23 18:41:30 +00:00
|
|
|
/** Cheats related to teams */
|
|
|
|
UCLASS()
|
|
|
|
class ULyraTeamCheats : public UCheatManagerExtension
|
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Moves this player to the next available team, wrapping around to the
|
|
|
|
// first team if at the end of the list of teams
|
|
|
|
UFUNCTION(Exec, BlueprintAuthorityOnly)
|
|
|
|
virtual void CycleTeam();
|
|
|
|
|
|
|
|
// Moves this player to the specified team
|
|
|
|
UFUNCTION(Exec, BlueprintAuthorityOnly)
|
|
|
|
virtual void SetTeam(int32 TeamID);
|
|
|
|
|
|
|
|
// Prints a list of all of the teams
|
|
|
|
UFUNCTION(Exec)
|
|
|
|
virtual void ListTeams();
|
|
|
|
};
|