mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
Add project files.
This commit is contained in:
21
Project Reboot 3.0/PlayerController.cpp
Normal file
21
Project Reboot 3.0/PlayerController.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "PlayerController.h"
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
void APlayerController::Possess(class APawn* Pawn)
|
||||
{
|
||||
static auto fn = FindObject<UFunction>("/Script/Engine.Controller.Possess");
|
||||
this->ProcessEvent(fn, &Pawn);
|
||||
}
|
||||
|
||||
void APlayerController::ServerRestartPlayer()
|
||||
{
|
||||
static auto fn = FindObject<UFunction>("/Script/Engine.PlayerController.ServerRestartPlayer");
|
||||
this->ProcessEvent(fn);
|
||||
}
|
||||
|
||||
UClass* APlayerController::StaticClass()
|
||||
{
|
||||
static auto Class = FindObject<UClass>("/Script/Engine.PlayerController");
|
||||
return Class;
|
||||
}
|
||||
Reference in New Issue
Block a user