A class in Root.Township, Alta.Menu.
Asset for a menu entry that sends one fixed console command to the server. Created from the Township, Quick Access Menu, Field Access menu.
Constructors
| Member | What it is |
|---|
ServerCommandDefinition() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private string command | The console command text to send. |
private string settingDescription | Backing field for SettingDescription. |
Properties
| Member | What it is |
|---|
override string SettingDescription { get; } | Description shown on the settings panel. |
Methods
| Member | What it is |
|---|
override void RunCommandOnClient() | Sends command to the server through CommandSync. |