Navigation
API > API/Plugins > API/Plugins/MassReplication > API/Plugins/MassReplication/UMassReplicationSubsystem
Description
Registers BubbleInfoClass with the system. These are created one per client as clients join. This function can be called multiple times with different BubbleInfoClass types (but not the same type), in that case each client will get multiple BubbleInfoClasses. This can be useful for replicating different Entity types in different bubbles, although its also possible to have multiple TClientBubbleHandlerBase derived class instances per BubbleInfoClass. This must not be called after AddClient or SynchronizeClientsAndViewers is called
| Name | RegisterBubbleInfoClass |
| 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 |
FMassBubbleInfoClassHandle RegisterBubbleInfoClass
(
const TSubclassOf < AMassClientBubbleInfoBase > & BubbleInfoClass
)
FMassBubbleInfoClassHandle Handle to the BubbleInfoClass, this will be an invalid handle if its not been created