mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
33 lines
791 B
C++
33 lines
791 B
C++
#pragma once
|
|
|
|
#include "Class.h"
|
|
#include "Controller.h"
|
|
#include "CheatManager.h"
|
|
|
|
#include "UnrealString.h"
|
|
#include "Rotator.h"
|
|
|
|
class APlayerController : public AController
|
|
{
|
|
public:
|
|
UCheatManager*& GetCheatManager()
|
|
{
|
|
static auto CheatManagerOffset = this->GetOffset("CheatManager");
|
|
return this->Get<UCheatManager*>(CheatManagerOffset);
|
|
}
|
|
|
|
class UNetConnection*& GetNetConnection()
|
|
{
|
|
static auto NetConnectionOffset = GetOffset("NetConnection");
|
|
return Get<class UNetConnection*>(NetConnectionOffset);
|
|
}
|
|
|
|
void SetPlayerIsWaiting(bool NewValue);
|
|
bool IsPlayerWaiting();
|
|
void ServerChangeName(const FString& S);
|
|
UCheatManager*& SpawnCheatManager(UClass* CheatManagerClass);
|
|
FRotator GetControlRotation();
|
|
void ServerRestartPlayer();
|
|
|
|
static UClass* StaticClass();
|
|
}; |