using System;
namespace Unity.Multiplayer
{
///
/// The role of the application in a multiplayer game.
///
public enum MultiplayerRole
{
///
/// Indicates that the application is running as a client.
///
Client = 0,
///
/// Indicates that the application is running as a dedicated server.
///
Server = 1,
}
///
/// Flags for the role of the application in a multiplayer game.
///
[Flags]
public enum MultiplayerRoleFlags
{
///
/// Flag for the client role.
///
Client = 1 << MultiplayerRole.Client,
///
/// Flag for the server role.
///
Server = 1 << MultiplayerRole.Server,
///
/// Flag for both the client and server roles.
///
ClientAndServer = Client | Server,
}
}