CommandList Class

CommandList allows for loading/saving command input files from the Scripts directory. See Common snippets on common use cases. By default, when loading a command list, TMInterface parses all lines into separate commands (splits multiline commands and strips comments) and puts all commands into a queue. The queue is processed frame by frame, usually 1000 commands per frame. When all commands are finally executed from the queue, the IsFullyProcessed property will return true. For methods to load the list see Process.

Behaviors

CommandList()
CommandList(const string&in scriptRelativePath)
~CommandList()

Methods

void Process(CommandListProcessOption option = CommandListProcessOption :: QueueAndExecute)
void set_Content(const string&in content)
bool Save(const string&in scriptRelativePath)