struct

ReplicationSpawnBody

Layout: header | SpawnBody | prefabPath (variable-length, length-prefixed uint16) | placedGuid (uint64, v4+). Variable bits live AFTER the fixed struct so SpawnBody itself stays trivially-copyable.

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

Properties

TypeNameDescription
NetworkIdnetworkIdDefault INVALID_NETWORK_ID.
uint16_t_padDefault 0.
uint32_townerPeerId0 = server-owned Default 0.
float position[3] =Initial transform sent so the client can place the ghost without waiting for the next snapshot.
float rotation[3] =
float scale[3] =
uint32_tnetStateDiscrete replicated state at spawn time so a newly-relevant client starts with the correct value — the reliable StateSnapshot stream then only ships subsequent CHANGES, never per-relevant-pair full state. Default 0.
Generated from Networking/Replication/ReplicationPackets.h via networking.json · Nov 4, 2026Version 1.0.0