如何在laya中直接使用proto中定义的enum?
type.proto
enum e_server_msg_type {
e_mst_start_c2g = 300;
e_mst_c2g_heartbeat = 301; //心跳协议
e_mst_c2g_select_gate = 302; //选择网关
e_mst_start_g2c = 400;
e_mst_g2c_select_gate_result = 401;//选择网关返回
e_mst_g2c_send_msglist = 402;//发送协议列表
e_mst_cgend_index = 500;
}