mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
2.4.2 & zone times proper
This commit is contained in:
19
Project Reboot 3.0/NetConnection.h
Normal file
19
Project Reboot 3.0/NetConnection.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#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);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user