mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
2.4.2 & zone times proper
This commit is contained in:
14
Project Reboot 3.0/Player.h
Normal file
14
Project Reboot 3.0/Player.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "Object.h"
|
||||
#include "PlayerController.h"
|
||||
|
||||
class UPlayer : public UObject
|
||||
{
|
||||
public:
|
||||
APlayerController*& GetPlayerController()
|
||||
{
|
||||
static auto PlayerControllerOffset = GetOffset("PlayerController");
|
||||
return Get<APlayerController*>(PlayerControllerOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user