ConsoleCommandEvent

ConsoleCommandEvent

class ConsoleCommandEvent extends ConsoleEvent

Allows to do things before the command is executed, like skipping the command or changing the input.

Constants

RETURN_CODE_DISABLED

The return code for skipped commands, this will also be passed into the terminate event.

Methods

bool isPropagationStopped()

Returns whether further event listeners should be triggered.

from Event登录查看完整内容