Navigation
API > API/Plugins > API/Plugins/MassReplication > API/Plugins/MassReplication/UMassReplicationSubsystem
Description
Adds a Client and sets up all the data relevant to the bubble. Where there are multiple viewers for one NetConnection only the parent net connection should be added here
| Name | AddClient |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassReplication/Public/MassReplicationSubsystem.h |
| Include Path | #include "MassReplicationSubsystem.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassReplication/Private/MassReplicationSubsystem.cpp |
void AddClient
(
FMassViewerHandle ViewerHandle,
APlayerController & InController
)
Parameters
| Name | Remarks |
|---|---|
| ViewerHandle | handle to viewer to add as a client. This must be UMassLODSubsystem->IsValidViewer() |
| InController | associated with the viewer |