Files
RobustToolbox/Robust.Shared/Network/NetMessageAccept.cs
Acruid 2183cd7ca1 Massive Namespace Cleanup (#1544)
* Removed the Interfaces folder.
* All objects inside the GameObjects subfolders are now in the GameObjects namespace.
* Added a Resharper DotSettings file to mark the GameObjects subfolders as not providing namespaces.
* Simplified Robust.client.Graphics namespace.
* Automated remove redundant using statements.
2021-02-10 23:27:19 -08:00

29 lines
733 B
C#

using System;
namespace Robust.Shared.Network
{
/// <summary>
/// Defines on which side of the network a net message can be accepted.
/// </summary>
[Flags]
public enum NetMessageAccept : byte
{
None = 0,
/// <summary>
/// Message can only be received on the server and it is an error to send it to a client.
/// </summary>
Server = 1,
/// <summary>
/// Message can only be received on the client and it is an error to send it to a server.
/// </summary>
Client = 2,
/// <summary>
/// Message can be received on both client and server.
/// </summary>
Both = Client | Server
}
}