mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
29 lines
731 B
C++
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;
|
|
} |