Files
Reboot-Launcher/dependencies/reboot/Project Reboot 3.0/GameModeBase.h
Alessandro Autiero b41e22adeb <feat: New project structure>
<feat: New release>
2023-09-02 15:34:15 +02:00

20 lines
701 B
C++

#pragma once
#include "Actor.h"
#include "Controller.h"
#include "Pawn.h"
#include "UnrealString.h"
class AGameModeBase : public AActor // AInfo
{
public:
UClass* GetDefaultPawnClassForController(AController* InController);
void ChangeName(AController* Controller, const FString& NewName, bool bNameChange);
AActor* K2_FindPlayerStart(AController* Player, FString IncomingName);
void RestartPlayerAtTransform(AController* NewPlayer, FTransform SpawnTransform);
void RestartPlayerAtPlayerStart(AController* NewPlayer, AActor* StartSpot);
void RestartPlayer(AController* NewPlayer);
static APawn* SpawnDefaultPawnForHook(AGameModeBase* GameMode, AController* NewPlayer, AActor* StartSpot);
};