Skip to main content

ServerCommandDefinitionBase

An abstract class in Root.Township, Alta.Menu.

Base for quick access menu settings that run a server command when used, such as ServerCommandDefinition, ServerMultiOptionCommandDefinition and AssistedSpawnCommandDefinition.

Constructors​

MemberWhat it is
protected ServerCommandDefinitionBase()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Methods​

MemberWhat it is
abstract void RunCommandOnClient()Client: sends the command. ServerCommandDefinition routes its command string through CommandSync.Instance.

Used in​

Members of other types that take, return or hold a ServerCommandDefinitionBase: