registerReplicationArchetype
registerReplicationArchetype(
key,build):void
Defined in: net/replication/archetype.ts:39
Declare how a ghost of key is built. The server names one per replicated
entity through Replicated.archetype, and a client that cannot resolve the
key refuses the spawn rather than building half of it. Synchronous in this
first form: a key resolving to a preloaded prefab is a later question.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”void