Files
svn/tech/msg
2025-08-04 10:46:00 +08:00
..
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00
2025-08-04 10:46:00 +08:00

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 目录
- ./proto	  所有proto文件夹
- protoc-gen-java java文件输出目录
- protoc-gen-js   js文件输出目录


# 协议前缀规范
// C2RS_ 客户端到房间服务器
// RS2C_ 房间服务器到客户端


# 协议注释规范:
1. 注释分成两部分,注释:协议号
2. 注释只能单独一行与message之间不能有空行
```
//登录 CL_LOGIN:10000
message CL_LOGIN{
  optional string mid = 1;//设备唯一号
  optional string uuid = 2;//服务器分配的用户唯一id注册用户发"null"

}
```