class

FReplicatedComponentRegistry

Module
Networking
Header
#include "Networking/Replication/ReplicatedComponentRegistry.h"
Namespace
Mowo

Properties

TypeNameDescription
static constexpr uint8_tkInvalidSlotDefault 0xFF.
static constexpr size_tkMaxReplicatedComponentsDefault 255.
static constexpr uint16_tkRpcWireFirstRPC method ids. Callers address a component method by its ECS ComponentID, which is handed out in first-use order — static-init order across DLLs — so an editor host and a packaged (or monolithic) client number the same component differently, and a raw id on the wire invoked a method of whatever component the receiver happened to give that number. On the wire a component is its index in the name-sorted table of components with MFUNCTIONs, offset by kRpcWireFirst; the table's names and method names are part of the schema id, so two peers that would disagree about an index refuse each other at the handshake instead. Ids at or above MAX_COMPONENTS are session events and pass unchanged. Default 0x1000.
static constexpr uint16_tkInvalidRpcWireIdDefault 0xFFFF.

Constructors

SignatureNameDescription
FReplicatedComponentRegistry(const FReplicatedComponentRegistry&) = deleteFReplicatedComponentRegistry

Public functions

ReturnsNameDescription
FReplicatedComponentRegistry&Get
voidEnsureBuilt
voidRebuild
const std::vector<FReplicatedComponentInfo>&GetComponents
const FReplicatedComponentInfo*FindBySlot
const FReplicatedComponentInfo*FindByDisplayName
const FReplicatedComponentInfo*FindByComponentId
uint8_tFindSlotByDisplayName
uint16_tGetSchemaId
uint32_tGetComponentCount
uint16_tToRpcWireId
boolFromRpcWireId
uint32_tGetRpcComponentCount
FReplicatedComponentRegistry&operator=

Function details

FReplicatedComponentRegistry

C++
FReplicatedComponentRegistry(const FReplicatedComponentRegistry&) = delete

Get

C++
static FReplicatedComponentRegistry& Get()

EnsureBuilt

C++
void EnsureBuilt()

Rebuild

C++
void Rebuild()

GetComponents

C++
const std::vector<FReplicatedComponentInfo>& GetComponents() const

FindBySlot

C++
const FReplicatedComponentInfo* FindBySlot(uint8_t slot) const

FindByDisplayName

C++
const FReplicatedComponentInfo* FindByDisplayName(const char* displayName) const

FindByComponentId

C++
const FReplicatedComponentInfo* FindByComponentId(ComponentID componentId) const

FindSlotByDisplayName

C++
uint8_t FindSlotByDisplayName(const char* displayName) const

GetSchemaId

C++
uint16_t GetSchemaId() const

GetComponentCount

C++
uint32_t GetComponentCount() const

ToRpcWireId

C++
uint16_t ToRpcWireId(uint16_t methodId)

FromRpcWireId

C++
bool FromRpcWireId(uint16_t wireId, uint16_t& outMethodId)

GetRpcComponentCount

C++
uint32_t GetRpcComponentCount() const

operator=

C++
FReplicatedComponentRegistry& operator=(const FReplicatedComponentRegistry&) = delete
Generated from Networking/Replication/ReplicatedComponentRegistry.h via networking.json · Nov 4, 2026Version 1.0.0