Files
Project-Reboot-3.0/Project Reboot 3.0/PlayerController.cpp
Milxnor ae259f97eb aa
2023-03-05 22:30:29 -05:00

29 lines
731 B
C++

#include "PlayerController.h"
#include "reboot.h"
FRotator APlayerController::GetControlRotation()
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.Controller.GetControlRotation");
FRotator rot;
this->ProcessEvent(fn, &rot);
return rot;
}
void APlayerController::Possess(class APawn* Pawn)
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.Controller.Possess");
this->ProcessEvent(fn, &Pawn);
}
void APlayerController::ServerRestartPlayer()
{
static auto fn = FindObject<UFunction>(L"/Script/Engine.PlayerController.ServerRestartPlayer");
this->ProcessEvent(fn);
}
UClass* APlayerController::StaticClass()
{
static auto Class = FindObject<UClass>(L"/Script/Engine.PlayerController");
return Class;
}