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

19 lines
352 B
C++

#pragma once
#include "Player.h"
class UNetConnection : public UPlayer
{
public:
AActor*& GetOwningActor()
{
static auto OwningActorOffset = GetOffset("OwningActor");
return Get<AActor*>(OwningActorOffset);
}
AActor*& GetViewTarget()
{
static auto ViewTargetOffset = GetOffset("ViewTarget");
return Get<AActor*>(ViewTargetOffset);
}
};