struct

NetworkObjectComponent

Marks an entity as participating in network replication. The server authoritatively sets networkId at spawn time and sends a Spawn packet so a client materializes a corresponding ghost entity. From then on the server emits snapshot deltas at the configured tick rate and the client applies them to its ghost.

Module
Networking
Header
#include "Networking/Components/NetworkObjectComponent.h"
Namespace
Mowo
Reflection
Reflected by MowoHeaderTool

ownerPeerId controls authority for input + client-side prediction: peer 0 = server, anything else = the connected client that "drives" this object. An entity is ALWAYS relevant to its owner, whatever the distance — a client never loses its own pawn.

prefabPath is the resource path the client uses to instantiate the ghost. Empty spawns a bare Transform-only ghost.

Properties

TypeNameDescription
NetworkIdnetworkIdDefault INVALID_NETWORK_ID.
uint32_townerPeerIdDefault 0.
std::stringprefabPath
uint64_tplacedGuidIdentity of a SCENE-PLACED network object, stamped once when the scene is saved and stable across every load of it. Both peers load the same scene, so the server's Spawn names this id and the client binds the packet to the exact local entity that carries it. 0 means "not authored" — a runtime spawn, or a scene written before the field existed — and sends the client back to matching by prefab path and nearest pose, which pairs interchangeable twins wrongly once they have moved. Default 0.
boolreplicateTransformDefault true.
NetRelevancyModerelevancyDefault NetRelevancyMode::Distance.
floatnetCullDistance<= 0 falls back to the net.cull_distance cvar. Default 0.0f.
floatnetPriorityUE's NetPriority: the send order under a tight budget is netPriority * (1 + ticks since this client last got an update). Default 1.0f.
NetPriorityTiernetPriorityTierDefault NetPriorityTier::Normal.
uint32_tnetRelevancyGroupsRelevancy groups (UE's connection filters / Iris groups): a bitmask of the groups this object belongs to. 0 = no restriction. Non-zero = only peers whose group mask (ReplicationManager::SetPeerRelevancyGroups) shares a bit see it, whatever the relevancy mode — a team-only marker, a squad's private objective. The owner always sees its own object. Default 0.
floatnetUpdateFrequencyUE's NetUpdateFrequency: how many times a second this object's continuous state is even looked at for a snapshot; <= 0 = every replication tick. A prop that moves once a minute was diffed for every client on every tick. Default 0.0f.
boolnetDormantUE's dormancy: a dormant object's continuous state is neither diffed nor sent until it wakes; ReplicationManager::FlushNetDormancy sends one update without waking it. Its Spawn still reaches a client it becomes relevant to, and its discrete state still ships on change. Default false.
boolnetFlushDormancyDefault false.
boolnetDueThisTickDefault true.
uint32_tnetNextUpdateTickDefault 0.
boolnetPushModelUE's push model: the object promises to call ReplicationManager::MarkNetDirty after every change to its replicated state, and in return a due object that has not been marked since a peer last converged on it is not diffed for that peer at all. An unmarked change is NOT sent — the opt-in is the promise. Default false.
uint32_tnetChangeSerialStarts at 1 so a peer record that has never converged (clean serial 0) can never match it. Default 1.
uint32_tnetStateReplicated DISCRETE gameplay state word — a game packs health / ammo / a small state enum / flags here. Unlike the continuous transform it ships on the RELIABLE channel (reliably-until-acked): a single dropped snapshot must never leave a client stuck on a stale discrete value. Default 0.
boolspawnedRemotelyDefault false.
Generated from Networking/Components/NetworkObjectComponent.h via networking.json · Nov 4, 2026Version 1.0.0