Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/MassGameplay/Source/MassReplication/Public/MassReplicationManager.h |
Include |
#include "MassReplicationManager.h" |
UCLASS()
class UMassReplicationManager : public UWorldSubsystem
Manages the creation of NetworkIDs, ClientBubbles and ClientViewers. NetworkIDs are per replicated Agent Entity and are unique and replicated between server and clients. ClientBubbles relate to the player controller that owns the parent UNetConnection to a Client machine. ClientViewers relate to all the player controllers that have a parent or child UNetConnection to a single Client machine (split screen etc).
Name | Description | ||
---|---|---|---|
|
BubbleInfoArray |
||
|
ClientHandleManager |
Clients free list FMassClientHandle manager, handles will to the indices of FMassClientReplicationData::ClientBubbles |
|
|
ClientsViewerHandles |
An Array of each Clients viewer handles (split screen players sharing the same client connections). |
|
|
ClientToViewerHandleArray |
A free list array of FViewerClientPairs. |
|
|
EntityInfoMap |
||
|
EntitySystem |
||
|
LastSynchronizedFrame |
Used to make sure the FMassEntityHandle_ClientReplications are synchronized immediately before they are needed |
|
|
MassLODManager |
||
|
OnMassAgentAdded |
Broadcast just after a mass agent is added to the client simulation |
|
|
OnRemovingMassAgent |
Broadcast just before a mass agent is removed from the client simulation |
|
|
ViewerToClientHandleArray |
A free list array of FViewerClientPairs. |
|
|
UWorld * |
World |
Name | Description | ||
---|---|---|---|
|
AddClient ( |
Adds a Client and sets up all the data relevant to the bubble. |
|
|
DebugCheckArraysAreInSync() |
||
|
EFindOrAddMa... |
FindAndUpdateOrAddMassEntityInfo ( |
Finds or adds an FMassReplicationEntityInfo to the EntityInfoMap for an Entity with NetWorkID. |
|
FMassEntityH... |
FindEntity ( |
|
|
const FMassR... |
FindMassEntityInfo ( |
Finds the FMassReplicationEntityInfo for the Entity with NetworkID. |
|
FMassReplica... |
FindMassEntityInfoMutable ( |
|
|
FMassBubbleI... |
GetBubbleInfoClassHandle ( |
|
|
AMassClientB... |
GetClientBubble ( |
Gets the client bubble safely |
|
AMassClientB... |
GetClientBubbleChecked ( |
Get the client bubble. Faster version using check()s |
|
const TArray... |
GetClientReplicationHandles() |
|
|
const FClien... |
GetClientViewers ( |
Gets the client viewers safely |
|
const FClien... |
GetClientViewersChecked ( |
Gets the client viewers. Faster version using check()s |
|
const TMap< ... |
GetEntityInfoMap() |
|
|
FMassNetwork... |
GetNetIDFromHandle ( |
Retrieve network id from Mass handle. |
|
FMassNetwork... |
GetNextAvailableMassNetID() |
|
|
UE::MassRepl... |
GetOnMassAgentAdded() |
|
|
UE::MassRepl... |
GetOnRemovingMassAgent() |
|
|
TType * |
GetTypedClientBubble ( |
Gets the client bubble safely returning the template type |
|
TType * |
GetTypedClientBubbleChecked ( |
Gets the client bubble returning the template type. Faster version using check()s |
|
IsBubbleClassHandleValid ( |
||
|
FMassBubbleI... |
RegisterBubbleInfoClass ( |
Registers BubbleInfoClass with the system. |
|
RemoveClient ( |
Removes a Client and removes up all the data relevant to the bubble |
|
|
RemoveFromEntityInfoMap ( |
||
|
FMassEntityH... |
ResetEntityIfValid ( |
Resets the item with NetworkID in the EntityInfoMap if its currently Set / Valid and its the most recent ReplicationID. |
|
SetEntity ( |
Must be called immediately after an Entity is added to the simulation and after FindAndUpdateOrAddMassEntityInfo has been called |
|
|
SynchronizeClients ( |
||
|
SynchronizeClientsAndViewers() |
||
|
SynchronizeClientViewers ( |
Name | Description | ||
---|---|---|---|
|
Deinitialize() |
Implement this for deinitialization of instances of the system |
|
|
Initialize ( |
USubsystem BEGIN. |
Name |
Description |
|
---|---|---|
|
EFindOrAddMassEntityInfo |
Name |
Description |
---|---|
CurrentNetMassCounter |