Files
Project-Reboot-3.0/Project Reboot 3.0/Player.h
2023-04-05 07:55:28 -04:00

14 lines
291 B
C++

#pragma once
#include "Object.h"
#include "PlayerController.h"
class UPlayer : public UObject
{
public:
APlayerController*& GetPlayerController() const
{
static auto PlayerControllerOffset = GetOffset("PlayerController");
return Get<APlayerController*>(PlayerControllerOffset);
}
};