Files
UnrealEngine/Samples/Games/Lyra/Source/LyraGame/Teams/LyraTeamCheats.h
2025-05-18 13:04:45 +08:00

32 lines
700 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/CheatManager.h"
#include "LyraTeamCheats.generated.h"
class UObject;
struct FFrame;
/** 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();
};