Enum SendToOwnerType
Meta-data of a ICommandData component, denoting whether or not the server should replicate the input commands back down to clients. Configure via GhostComponentAttribute.
See the documentation for ICommandData:ICommandData
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[Flags]
public enum SendToOwnerType
Fields
| Name | Description |
|---|---|
| All | Informs the server to replicate this ICommandData to all clients, including back to ourselves. |
| None | Informs the server not not replicate this ICommandData back down to any clients. |
| SendToNonOwner | Informs the server to replicate this ICommandData to all clients except the input "author" (i.e. the player who owns the ghost). |
| SendToOwner | Informs the server to replicate this ICommandData back to the owner, exclusively. |