hookServer

Hook a server message.

  1. void hookServer(char[] type, EatMode function(in char[][] words, in char[][] words_eol) callback, CommandPriority priority)
  2. void hookServer(char[] type, EatMode delegate(in char[][] words, in char[][] words_eol) callback, CommandPriority priority)
    void
    hookServer
    (
    in char[] type
    ,
    EatMode delegate
    (
    in char[][] words
    ,
    in char[][] words_eol
    )
    callback
    ,)

Parameters

type char[]

_type of message to hook

callback EatMode delegate
(
in char[][] words
,
in char[][] words_eol
)

_callback function or delegate

priority CommandPriority

priority of this hook. Should be CommandPriority.normal

Meta