mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-19 03:39:21 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
27 lines
488 B
C#
27 lines
488 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Specifies who can control ownership of a networked object.
|
|
/// </summary>
|
|
[Expose]
|
|
public enum OwnerTransfer
|
|
{
|
|
/// <summary>
|
|
/// Anyone can control ownership.
|
|
/// </summary>
|
|
[Icon( "transfer_within_a_station" )]
|
|
Takeover,
|
|
|
|
/// <summary>
|
|
/// Only the host can change the ownership.
|
|
/// </summary>
|
|
[Icon( "person" )]
|
|
Fixed,
|
|
|
|
/// <summary>
|
|
/// Anyone can request ownership changes from the host.
|
|
/// </summary>
|
|
[Icon( "mail" )]
|
|
Request
|
|
}
|