s&box docs

public sealed class Sandbox.BroadcastAttribute : Sandbox.RpcAttributeObsolete

Marks a method as being an RPC that when invoked will be called for all connected clients including the host. The state of the object the RPC is called on will be up-to-date including its `Sandbox.GameTransform` and any properties with the `Sandbox.SyncAttribute` or `Sandbox.HostSyncAttribute` attributes by the time the method is called on remote clients. The only except is any synchronized properties marked with `Sandbox.SyncAttribute.Query` which will generally only be received every network tick.

Obsolete

Please use Rpc.Broadcast

Constructors

Showing 2 constructors

Properties

Showing 1 properties

public Sandbox.NetPermission Sandbox.BroadcastAttribute.Permission { get; set; }

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.BroadcastAttribute

On this page