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).
- Listed in Console, logging and analytics
- Inherits or implements
RequirementAttribute
Constructors
| Member | What it is |
|---|---|
ClientOnlyAttribute() | Creates a ClientOnlyAttribute with default values. |
Methods
| Member | What it is |
|---|---|
override bool Check() | True if there is no current game mode or it is a client. |
override string ToString() | Returns Client Only. |