Core
AuthorityMode
Who is the source of truth for a synced component (NGO's AuthorityModes).
generated from the sources
Enum in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Core/NetworkSyncBehaviour.cspublic enum AuthorityMode : byteWho is the source of truth for a synced component (NGO's AuthorityModes).
Members
| Name | Value | Description |
|---|---|---|
Server | 0 | The authoritative worker writes the state; every client (the owner included) follows it. |
Owner | 1 | The owning client writes the state and sends it to the worker, which applies it and re-broadcasts it to everyone else (NGO's ClientNetworkTransform/OwnerNetworkAnimator). The worker still hands the entity over between containers as usual; the owner's stream simply follows it to the new worker. Entities with no owning client (NPCs) fall back to server authority. |