Unity-WebSocket/Assets/FishNet/Runtime/Object/Synchronizing/ReadPermissions.cs

22 lines
607 B
C#
Raw Normal View History

2025-06-28 07:58:54 +00:00
namespace FishNet.Object.Synchronizing
{
/// <summary>
/// Which clients may receive synchronization updates.
/// </summary> //Remove on V5. Just rename file to ReadPermission.cs, do not remove.
public enum ReadPermission : byte
{
/// <summary>
/// All observers will receive updates.
/// </summary>
Observers = 0,
/// <summary>
/// Only owner will receive updates.
/// </summary>
OwnerOnly = 1,
/// <summary>
/// Send to all observers except owner.
/// </summary>
ExcludeOwner = 2,
}
}