SCRIPTING API / Multiplayer / ServerOnlyAttribute
ServerOnlyAttribute
Marks a script class that runs only on the dedicated server (match rules, bots, authority checks). The engine refuses to create it in editor Play mode or a game client, with a clear error. Every GameMode is server-only.
Kindclass
NamespaceKroys.EngineScripting
Members0
Source
GameSession.csDECLARATION
Declaration
Namespace Kroys.EngineScripting.
Declaration
public sealed class ServerOnlyAttribute : Attribute
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.