mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
19 lines
352 B
C++
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);
|
|
}
|
|
}; |