跳到主要内容

on_game_message

注册游戏服务器消息的处理函数

声明

void on_game_message(string msg, function func)

参数

参数名描述
msg消息名称
func处理函数

返回值

使用方式

返回文档