Attribute · Ara
ExposeAttribute
Network exposure of a CommandAttribute command (enforced by the netcode layer).
public sealed class ExposeAttribute : AttributeConstructors
ExposeAttribute
public ExposeAttribute(ExecuteOn executeOn, Caller caller);Network exposure of a CommandAttribute command (enforced by the netcode layer).
Properties
ExecuteOn
public ExecuteOn ExecuteOn { get; }Where it runs.
Caller
public Caller Caller { get; }Who may send it.
RatePerSecond
public double RatePerSecond { get; init; }Per-caller rate limit; 0 means unlimited.