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:
@@ -4,6 +4,8 @@
|
||||
#include "UnrealString.h"
|
||||
|
||||
#include "World.h"
|
||||
#include "NetConnection.h"
|
||||
#include "Array.h"
|
||||
|
||||
class UWorld;
|
||||
|
||||
@@ -29,7 +31,13 @@ public:
|
||||
|
||||
static void TickFlushHook(UNetDriver* NetDriver);
|
||||
|
||||
TArray<UNetConnection*>& GetClientConnections()
|
||||
{
|
||||
static auto ClientConnectionsOffset = GetOffset("ClientConnections");
|
||||
return Get<TArray<UNetConnection*>>(ClientConnectionsOffset);
|
||||
}
|
||||
|
||||
bool InitListen(FNetworkNotify* InNotify, FURL& ListenURL, bool bReuseAddressAndPort, FString& Error) { return InitListenOriginal(this, InNotify, ListenURL, bReuseAddressAndPort, Error); }
|
||||
void SetWorld(UWorld* World) { return SetWorldOriginal(this, World); }
|
||||
void ServerReplicateActors();
|
||||
int32 ServerReplicateActors();
|
||||
};
|
||||
Reference in New Issue
Block a user