Files
Project-Reboot-3.0/Project Reboot 3.0/GameModeBase.h
Milxnor 1da6822119 Reboot Living up to its name
almost finish rebooting (im going insane), performance, increase llama spawn radius, remove auto restart for a little bit
2023-05-13 19:46:50 -04: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);
};