mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 03:32:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
19
dependencies/reboot/Project Reboot 3.0/Pawn.h
vendored
Normal file
19
dependencies/reboot/Project Reboot 3.0/Pawn.h
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include "Actor.h"
|
||||
|
||||
class APawn : public AActor
|
||||
{
|
||||
public:
|
||||
UObject* GetPlayerState()
|
||||
{
|
||||
static auto PlayerStateOffset = GetOffset("PlayerState");
|
||||
return Get(PlayerStateOffset);
|
||||
}
|
||||
|
||||
class APlayerController* GetController()
|
||||
{
|
||||
static auto ControllerOffset = GetOffset("Controller");
|
||||
return Get<class APlayerController*>(ControllerOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user