registerMessageCapture(name:callable:)

    Registers a message capture with given name. If name is “my_message” then messages starting with “my_message:” will be called with the given callable.

    EngineDebugger.swift:254
    static func registerMessageCapture(name: StringName, callable: Callable)

    Callable must accept a message string and a data array as argument. If the message and data are valid then callable must return true otherwise false.

    Other members in extension

    Type members