protobuf def

yokyo d400ce2ff6 update il y a 5 ans
google b95fd8ea83 init repo il y a 5 ans
modules a64cc9b1dd update il y a 5 ans
.gitignore 2055b937dc add compile script il y a 5 ans
README.md 146cd3f7a8 readme il y a 5 ans
build fffd1c9a8b format il y a 5 ans
confs.proto 658bd94709 add il y a 5 ans
enums.proto da1133ad4d update il y a 5 ans
enums_msgid.proto 452645fbc3 change il y a 5 ans
errors.proto b95fd8ea83 init repo il y a 5 ans
login.proto ef57f5c405 update il y a 5 ans
login_internal.proto d400ce2ff6 update il y a 5 ans
manager.proto 896f51d47a update msgq protos il y a 5 ans
msgq_evid.proto 452645fbc3 change il y a 5 ans
msgq_mgr.proto 896f51d47a update msgq protos il y a 5 ans
msgq_sys.proto 896f51d47a update msgq protos il y a 5 ans
msgq_usr.proto 896f51d47a update msgq protos il y a 5 ans
outline.proto 896f51d47a update msgq protos il y a 5 ans
redis.proto d400ce2ff6 update il y a 5 ans
structs.proto 658bd94709 add il y a 5 ans
tajmahal.proto ef57f5c405 update il y a 5 ans

README.md

protos

protocol in protobuf3

文件说明

  • modules 目录

    每个文件对应一个游戏内子功能模块

  • login.proto

    定义客户端和登录服务器相关的所有协议 (实际为 json 格式)

  • login_internal.proto

    定义登录服务器和其他服务器的协议

  • main.proto

    定义客户端和游戏服务器的协议

  • outline.proto

    定义客户端和游戏服务器的协议轮廓

  • errors.proto

    定义所有通信过程中的所有错误码

  • structs.proto

    定义子结构

  • enums.proto

    定义 enum

  • logics 目录

    定义各个游戏逻辑的协议, 包括主游戏和将来的游戏内小游戏