UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ReplicationSystemDelegates.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "HAL/Platform.h"
8
9namespace UE::Net::Private
10{
11 class FReplicationSystemImpl;
12}
13
14namespace UE::Net
15{
16
18{
19public:
22
28 FConnectionAddedDelegate::RegistrationType& OnConnectionAdded();
29
35 FConnectionAddedDelegate::RegistrationType& OnConnectionRemoved();
36
37private:
39
40 FConnectionAddedDelegate ConnectionAddedDelegate;
41 FConnectionRemovedDelegate ConnectionRemovedDelegate;
42};
43
44inline FReplicationSystemDelegates::FConnectionAddedDelegate::RegistrationType& FReplicationSystemDelegates::OnConnectionAdded()
45{
46 return ConnectionAddedDelegate;
47}
48
49inline FReplicationSystemDelegates::FConnectionRemovedDelegate::RegistrationType& FReplicationSystemDelegates::OnConnectionRemoved()
50{
51 return ConnectionRemovedDelegate;
52}
53
54}
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
Definition ConnectionHandle.h:17
Definition ReplicationSystemDelegates.h:18
FConnectionAddedDelegate::RegistrationType & OnConnectionRemoved()
Definition ReplicationSystemDelegates.h:49
FConnectionAddedDelegate::RegistrationType & OnConnectionAdded()
Definition ReplicationSystemDelegates.h:44
Definition ReplicationSystem.cpp:70
Definition NetworkVersion.cpp:28
Definition NetworkVersion.cpp:28