mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-02 03:18:23 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
33 lines
582 B
C#
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
|
|
}
|