protobuf def

joe defae0bc53 adjust hace 4 años
google b95fd8ea83 init repo hace 5 años
logics 913fed62e7 add __init__ hace 4 años
modules 913fed62e7 add __init__ hace 4 años
.gitignore 913fed62e7 add __init__ hace 4 años
README.md defae0bc53 adjust hace 4 años
__init__.py 913fed62e7 add __init__ hace 4 años
build acbc8b2f51 update hace 5 años
confs.proto defae0bc53 adjust hace 4 años
enums.proto defae0bc53 adjust hace 4 años
enums_msgid.proto 1d580b18bb bugfix hace 5 años
errors.proto defae0bc53 adjust hace 4 años
gossip.proto 5679e2ee93 add file and update hace 5 años
login.proto 5378159c4a add ResetByEmail hace 5 años
login_internal.proto 109494a5da update hace 5 años
manager.proto 29921bbe71 update hace 5 años
msgq_evid.proto acbc8b2f51 update hace 5 años
msgq_mgr.proto 896f51d47a update msgq protos hace 5 años
msgq_sys.proto 896f51d47a update msgq protos hace 5 años
msgq_usr.proto 896f51d47a update msgq protos hace 5 años
outline.proto e00712dcc5 update hace 5 años
redis.proto ab070271bc update hace 5 años
structs.proto acbc8b2f51 update hace 5 años
tajmahal.proto defae0bc53 adjust hace 4 años

README.md

protos

protocol in protobuf3

编译

build -h #查看帮助
build -g #编译 golang
build -p #编译 python
build -c #清除编译后文件

文件说明

  • modules 目录

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

  • login.proto

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

  • login_internal.proto

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

  • tajmahal.proto

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

  • outline.proto

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

  • errors.proto

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

  • structs.proto

    定义子结构

  • enums*.proto

    定义 enum

  • logics 目录

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

  • confs.proto

    定义可重用的配置项目