Skip to main content

ClientOnlyAttribute

A class in Root.Township, Alta.Console.

Console requirement: the module or command is only available when the current game mode is a client (or there is no game mode yet).

Constructors​

MemberWhat it is
ClientOnlyAttribute()Creates a ClientOnlyAttribute with default values.

Methods​

MemberWhat it is
override bool Check()True if there is no current game mode or it is a client.
override string ToString()Returns Client Only.