Class ClearScreenCommand

Inheritance Relationships

Base Type

Class Documentation

class ClearScreenCommand : public Blam::Console::ConsoleCommand

Class for the cls command.

Clears all output from the in-game console. This does NOT clear anything from the logs, only the messages shown onscreen in the console.

Public Functions

ClearScreenCommand()
~ClearScreenCommand()
CommandStatus onCommand(std::vector<std::string> arguments)

Called upon command execution.

Return

The status of the command execution. See Blam::Console::CommandStatus for details.

Parameters
  • arguments: - The list of arguments passed to the command. Any space character in the command line is treated as a new argument.