mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* 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.
29 lines
733 B
C#
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
|
|
}
|
|
}
|