mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-19 11:49:44 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
26 lines
738 B
C#
26 lines
738 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Describes the behaviour of network synchronization.
|
|
/// </summary>
|
|
[Flags]
|
|
public enum SyncFlags : uint
|
|
{
|
|
/// <summary>
|
|
/// The host has ownership over the value.
|
|
/// </summary>
|
|
FromHost = 1,
|
|
|
|
/// <summary>
|
|
/// Query this value for changes rather than counting on set being called. This is appropriate
|
|
/// if the value returned by its getter can change without calling its setter.
|
|
/// </summary>
|
|
Query = 2,
|
|
|
|
/// <summary>
|
|
/// The value will be interpolated between ticks. This is currently only supported for <see cref="float"/>, <see cref="double"/>, <see cref="Angles"/>,
|
|
/// <see cref="Rotation"/>, <see cref="Transform"/>, <see cref="Vector3"/>.
|
|
/// </summary>
|
|
Interpolate = 4
|
|
}
|