mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
14 lines
285 B
C++
14 lines
285 B
C++
#pragma once
|
|
|
|
#include "Object.h"
|
|
#include "PlayerController.h"
|
|
|
|
class UPlayer : public UObject
|
|
{
|
|
public:
|
|
APlayerController*& GetPlayerController()
|
|
{
|
|
static auto PlayerControllerOffset = GetOffset("PlayerController");
|
|
return Get<APlayerController*>(PlayerControllerOffset);
|
|
}
|
|
}; |