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.
Docs for ICommandData:
Namespace: Unity.NetCode
Syntax
[Flags]
public enum SendToOwnerType
Fields
| Name | Description | Value |
|---|---|---|
| None | Informs the server not not replicate this ICommandData back down to any clients. |
0 |
| SendToOwner | Informs the server to replicate this ICommandData back to the owner, exclusively. |
1 |
| SendToNonOwner | Informs the server to replicate this ICommandData to all clients except the input "author" (i.e. the player who owns the ghost). |
2 |
| All | Informs the server to replicate this ICommandData to all clients, including back to ourselves. |
3 |