class
FReplicatedComponentRegistry
- Module
- Networking
- Header
#include "Networking/Replication/ReplicatedComponentRegistry.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint8_t | kInvalidSlot | Default 0xFF. |
static constexpr size_t | kMaxReplicatedComponents | Default 255. |
static constexpr uint16_t | kRpcWireFirst | RPC 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_t | kInvalidRpcWireId | Default 0xFFFF. |
Constructors
| Signature | Name | Description |
|---|---|---|
FReplicatedComponentRegistry(const FReplicatedComponentRegistry&) = delete | FReplicatedComponentRegistry |
Public functions
| Returns | Name | Description |
|---|---|---|
FReplicatedComponentRegistry& | Get | |
void | EnsureBuilt | |
void | Rebuild | |
const std::vector<FReplicatedComponentInfo>& | GetComponents | |
const FReplicatedComponentInfo* | FindBySlot | |
const FReplicatedComponentInfo* | FindByDisplayName | |
const FReplicatedComponentInfo* | FindByComponentId | |
uint8_t | FindSlotByDisplayName | |
uint16_t | GetSchemaId | |
uint32_t | GetComponentCount | |
uint16_t | ToRpcWireId | |
bool | FromRpcWireId | |
uint32_t | GetRpcComponentCount | |
FReplicatedComponentRegistry& | operator= |
Function details
FReplicatedComponentRegistry
C++
FReplicatedComponentRegistry(const FReplicatedComponentRegistry&) = deleteGet
C++
static FReplicatedComponentRegistry& Get()EnsureBuilt
C++
void EnsureBuilt()Rebuild
C++
void Rebuild()GetComponents
C++
const std::vector<FReplicatedComponentInfo>& GetComponents() constFindBySlot
C++
const FReplicatedComponentInfo* FindBySlot(uint8_t slot) constFindByDisplayName
C++
const FReplicatedComponentInfo* FindByDisplayName(const char* displayName) constFindByComponentId
C++
const FReplicatedComponentInfo* FindByComponentId(ComponentID componentId) constFindSlotByDisplayName
C++
uint8_t FindSlotByDisplayName(const char* displayName) constGetSchemaId
C++
uint16_t GetSchemaId() constGetComponentCount
C++
uint32_t GetComponentCount() constToRpcWireId
C++
uint16_t ToRpcWireId(uint16_t methodId)FromRpcWireId
C++
bool FromRpcWireId(uint16_t wireId, uint16_t& outMethodId)GetRpcComponentCount
C++
uint32_t GetRpcComponentCount() constoperator=
C++
FReplicatedComponentRegistry& operator=(const FReplicatedComponentRegistry&) = deleteGenerated from Networking/Replication/ReplicatedComponentRegistry.h via networking.json · Nov 4, 2026Version 1.0.0