Files
sbox-public/engine/Sandbox.Engine/Systems/Networking/System/LobbyPrivacy.cs
s&box team 71f266059a Open source release
This commit imports the C# engine code and game files, excluding C++ source code.

[Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
2025-11-24 09:05:18 +00:00

24 lines
451 B
C#

namespace Sandbox.Network;
[Expose]
public enum LobbyPrivacy
{
/// <summary>
/// This lobby is open to everyone.
/// </summary>
[Title( "Public" ), Icon( "public" )]
Public,
/// <summary>
/// Nobody can join this lobby unless they are invited.
/// </summary>
[Title( "Private" ), Icon( "lock" )]
Private,
/// <summary>
/// Only friends can join this lobby.
/// </summary>
[Title( "Friends Only" ), Icon( "people" )]
FriendsOnly
}