Files
Project-Reboot-3.0/Project Reboot 3.0/Player.h
2023-03-21 15:20:11 -04:00

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);
}
};