mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
aa
This commit is contained in:
@@ -2,20 +2,28 @@
|
||||
|
||||
#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>("/Script/Engine.Controller.Possess");
|
||||
static auto fn = FindObject<UFunction>(L"/Script/Engine.Controller.Possess");
|
||||
this->ProcessEvent(fn, &Pawn);
|
||||
}
|
||||
|
||||
void APlayerController::ServerRestartPlayer()
|
||||
{
|
||||
static auto fn = FindObject<UFunction>("/Script/Engine.PlayerController.ServerRestartPlayer");
|
||||
static auto fn = FindObject<UFunction>(L"/Script/Engine.PlayerController.ServerRestartPlayer");
|
||||
this->ProcessEvent(fn);
|
||||
}
|
||||
|
||||
UClass* APlayerController::StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>("/Script/Engine.PlayerController");
|
||||
static auto Class = FindObject<UClass>(L"/Script/Engine.PlayerController");
|
||||
return Class;
|
||||
}
|
||||
Reference in New Issue
Block a user