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]
17 lines
544 B
C#
17 lines
544 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// Automatically synchronize a property of a networked object from the host to other clients.
|
|
/// Obsolete: 11/12/2024
|
|
/// </summary>
|
|
[CodeGenerator( CodeGeneratorFlags.Instance | CodeGeneratorFlags.WrapPropertySet, "__sync_SetValue" )]
|
|
[CodeGenerator( CodeGeneratorFlags.Instance | CodeGeneratorFlags.WrapPropertyGet, "__sync_GetValue" )]
|
|
[Obsolete( "Use [Sync] with SyncFlags.FromHost" )]
|
|
public class HostSyncAttribute : SyncAttribute
|
|
{
|
|
public HostSyncAttribute() : base( SyncFlags.FromHost )
|
|
{
|
|
|
|
}
|
|
}
|