API ReferenceSandbox
public sealed class Sandbox.AuthorityAttribute : Sandbox.RpcAttributeObsolete
Marks a method as being an RPC specifically targeted to the owner of the `Sandbox.GameObject`, or the host if the `Sandbox.GameObject` doesn't have an owner. 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.Owner
Constructors
Showing 2 constructors
No results match this filter.
Properties
Showing 1 properties
public Sandbox.NetPermission Sandbox.AuthorityAttribute.Permission { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.AuthorityAttribute |