Files
sbox-public/engine/Sandbox.Engine/Scene/Networking/NetworkOrphaned.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

33 lines
582 B
C#

namespace Sandbox;
/// <summary>
/// Specifies what happens when the owner of a networked object disconnects.
/// </summary>
[Expose]
public enum NetworkOrphaned
{
/// <summary>
/// Destroy the networked object.
/// </summary>
[Icon( "delete" )]
Destroy,
/// <summary>
/// Assign the host as the owner.
/// </summary>
[Icon( "person" )]
Host,
/// <summary>
/// Randomly assign another connection as the owner.
/// </summary>
[Icon( "shuffle" )]
Random,
/// <summary>
/// Clear the owner of the networked object.
/// </summary>
[Icon( "clear" )]
ClearOwner
}