跳到主要内容

on_raw

关注指定事件,回调直接传array,不展开参数

声明

int on_raw(string event, function func)

参数

参数名描述
event指定事件
func触发函数(参数以数组传入)

返回值

使用方式

返回文档