├── .gitignore ├── .gitmodules ├── README.md ├── SConstruct ├── doc └── c++_code_standard.pdf ├── protocol ├── SConscript ├── compile_proto_files.sh ├── plugin │ ├── plugin_pb2.py │ └── protoc-gen-lua └── protobuf │ ├── Makefile │ ├── containers.lua │ ├── decoder.lua │ ├── descriptor.lua │ ├── encoder.lua │ ├── listener.lua │ ├── pb.c │ ├── pb.so │ ├── protobuf.lua │ ├── text_format.lua │ ├── type_checkers.lua │ └── wire_format.lua ├── resource └── config.yml.example ├── script └── gabriel │ └── script │ ├── main.lua │ └── npc │ └── kill.lua ├── src └── gabriel │ ├── base │ ├── SConscript │ ├── acceptor.cpp │ ├── acceptor.hpp │ ├── client_connection.cpp │ ├── client_connection.hpp │ ├── common.cpp │ ├── common.hpp │ ├── connection.cpp │ ├── connection.hpp │ ├── connector.cpp │ ├── connector.hpp │ ├── db.cpp │ ├── db.hpp │ ├── define.hpp │ ├── entity.hpp │ ├── log.cpp │ ├── log.hpp │ ├── message_handler.hpp │ ├── ordinary_server.cpp │ ├── ordinary_server.hpp │ ├── process.cpp │ ├── process.hpp │ ├── ref.cpp │ ├── ref.hpp │ ├── server.cpp │ ├── server.hpp │ ├── server_connection.cpp │ ├── server_connection.hpp │ ├── thread.hpp │ ├── timer.cpp │ └── timer.hpp │ ├── center │ ├── SConscript │ ├── server.cpp │ └── server.hpp │ ├── game │ ├── SConscript │ ├── lua2cpp │ │ ├── lua2cpp.cpp │ │ └── lua2cpp.txt │ ├── server.cpp │ └── server.hpp │ ├── gateway │ ├── SConscript │ ├── server.cpp │ └── server.hpp │ ├── login │ ├── SConscript │ ├── server.cpp │ └── server.hpp │ ├── main.cpp │ ├── record │ ├── SConscript │ ├── server.cpp │ └── server.hpp │ ├── supercenter │ ├── SConscript │ ├── server.cpp │ └── server.hpp │ └── superrecord │ ├── SConscript │ ├── message │ └── handle_default_msg.cpp │ ├── server.cpp │ └── server.hpp └── tool └── bin ├── lccscope ├── lckill ├── lcscons ├── lua2cpp.rb └── protoc-gen-lua /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/README.md -------------------------------------------------------------------------------- /SConstruct: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/SConstruct -------------------------------------------------------------------------------- /doc/c++_code_standard.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/doc/c++_code_standard.pdf -------------------------------------------------------------------------------- /protocol/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/SConscript -------------------------------------------------------------------------------- /protocol/compile_proto_files.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/compile_proto_files.sh -------------------------------------------------------------------------------- /protocol/plugin/plugin_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/plugin/plugin_pb2.py -------------------------------------------------------------------------------- /protocol/plugin/protoc-gen-lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/plugin/protoc-gen-lua -------------------------------------------------------------------------------- /protocol/protobuf/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/Makefile -------------------------------------------------------------------------------- /protocol/protobuf/containers.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/containers.lua -------------------------------------------------------------------------------- /protocol/protobuf/decoder.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/decoder.lua -------------------------------------------------------------------------------- /protocol/protobuf/descriptor.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/descriptor.lua -------------------------------------------------------------------------------- /protocol/protobuf/encoder.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/encoder.lua -------------------------------------------------------------------------------- /protocol/protobuf/listener.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/listener.lua -------------------------------------------------------------------------------- /protocol/protobuf/pb.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/pb.c -------------------------------------------------------------------------------- /protocol/protobuf/pb.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/pb.so -------------------------------------------------------------------------------- /protocol/protobuf/protobuf.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/protobuf.lua -------------------------------------------------------------------------------- /protocol/protobuf/text_format.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/text_format.lua -------------------------------------------------------------------------------- /protocol/protobuf/type_checkers.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/type_checkers.lua -------------------------------------------------------------------------------- /protocol/protobuf/wire_format.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/protocol/protobuf/wire_format.lua -------------------------------------------------------------------------------- /resource/config.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/resource/config.yml.example -------------------------------------------------------------------------------- /script/gabriel/script/main.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/script/gabriel/script/main.lua -------------------------------------------------------------------------------- /script/gabriel/script/npc/kill.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/script/gabriel/script/npc/kill.lua -------------------------------------------------------------------------------- /src/gabriel/base/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/SConscript -------------------------------------------------------------------------------- /src/gabriel/base/acceptor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/acceptor.cpp -------------------------------------------------------------------------------- /src/gabriel/base/acceptor.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/acceptor.hpp -------------------------------------------------------------------------------- /src/gabriel/base/client_connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/client_connection.cpp -------------------------------------------------------------------------------- /src/gabriel/base/client_connection.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/client_connection.hpp -------------------------------------------------------------------------------- /src/gabriel/base/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/common.cpp -------------------------------------------------------------------------------- /src/gabriel/base/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/common.hpp -------------------------------------------------------------------------------- /src/gabriel/base/connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/connection.cpp -------------------------------------------------------------------------------- /src/gabriel/base/connection.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/connection.hpp -------------------------------------------------------------------------------- /src/gabriel/base/connector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/connector.cpp -------------------------------------------------------------------------------- /src/gabriel/base/connector.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/connector.hpp -------------------------------------------------------------------------------- /src/gabriel/base/db.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/db.cpp -------------------------------------------------------------------------------- /src/gabriel/base/db.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/db.hpp -------------------------------------------------------------------------------- /src/gabriel/base/define.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/define.hpp -------------------------------------------------------------------------------- /src/gabriel/base/entity.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/entity.hpp -------------------------------------------------------------------------------- /src/gabriel/base/log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/log.cpp -------------------------------------------------------------------------------- /src/gabriel/base/log.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/log.hpp -------------------------------------------------------------------------------- /src/gabriel/base/message_handler.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/message_handler.hpp -------------------------------------------------------------------------------- /src/gabriel/base/ordinary_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/ordinary_server.cpp -------------------------------------------------------------------------------- /src/gabriel/base/ordinary_server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/ordinary_server.hpp -------------------------------------------------------------------------------- /src/gabriel/base/process.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/process.cpp -------------------------------------------------------------------------------- /src/gabriel/base/process.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/process.hpp -------------------------------------------------------------------------------- /src/gabriel/base/ref.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/ref.cpp -------------------------------------------------------------------------------- /src/gabriel/base/ref.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/ref.hpp -------------------------------------------------------------------------------- /src/gabriel/base/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/server.cpp -------------------------------------------------------------------------------- /src/gabriel/base/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/server.hpp -------------------------------------------------------------------------------- /src/gabriel/base/server_connection.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/server_connection.cpp -------------------------------------------------------------------------------- /src/gabriel/base/server_connection.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/server_connection.hpp -------------------------------------------------------------------------------- /src/gabriel/base/thread.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/thread.hpp -------------------------------------------------------------------------------- /src/gabriel/base/timer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/timer.cpp -------------------------------------------------------------------------------- /src/gabriel/base/timer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/base/timer.hpp -------------------------------------------------------------------------------- /src/gabriel/center/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/center/SConscript -------------------------------------------------------------------------------- /src/gabriel/center/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/center/server.cpp -------------------------------------------------------------------------------- /src/gabriel/center/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/center/server.hpp -------------------------------------------------------------------------------- /src/gabriel/game/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/game/SConscript -------------------------------------------------------------------------------- /src/gabriel/game/lua2cpp/lua2cpp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/game/lua2cpp/lua2cpp.cpp -------------------------------------------------------------------------------- /src/gabriel/game/lua2cpp/lua2cpp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/game/lua2cpp/lua2cpp.txt -------------------------------------------------------------------------------- /src/gabriel/game/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/game/server.cpp -------------------------------------------------------------------------------- /src/gabriel/game/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/game/server.hpp -------------------------------------------------------------------------------- /src/gabriel/gateway/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/gateway/SConscript -------------------------------------------------------------------------------- /src/gabriel/gateway/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/gateway/server.cpp -------------------------------------------------------------------------------- /src/gabriel/gateway/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/gateway/server.hpp -------------------------------------------------------------------------------- /src/gabriel/login/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/login/SConscript -------------------------------------------------------------------------------- /src/gabriel/login/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/login/server.cpp -------------------------------------------------------------------------------- /src/gabriel/login/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/login/server.hpp -------------------------------------------------------------------------------- /src/gabriel/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/main.cpp -------------------------------------------------------------------------------- /src/gabriel/record/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/record/SConscript -------------------------------------------------------------------------------- /src/gabriel/record/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/record/server.cpp -------------------------------------------------------------------------------- /src/gabriel/record/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/record/server.hpp -------------------------------------------------------------------------------- /src/gabriel/supercenter/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/supercenter/SConscript -------------------------------------------------------------------------------- /src/gabriel/supercenter/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/supercenter/server.cpp -------------------------------------------------------------------------------- /src/gabriel/supercenter/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/supercenter/server.hpp -------------------------------------------------------------------------------- /src/gabriel/superrecord/SConscript: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/superrecord/SConscript -------------------------------------------------------------------------------- /src/gabriel/superrecord/message/handle_default_msg.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/superrecord/message/handle_default_msg.cpp -------------------------------------------------------------------------------- /src/gabriel/superrecord/server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/superrecord/server.cpp -------------------------------------------------------------------------------- /src/gabriel/superrecord/server.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/src/gabriel/superrecord/server.hpp -------------------------------------------------------------------------------- /tool/bin/lccscope: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/tool/bin/lccscope -------------------------------------------------------------------------------- /tool/bin/lckill: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/tool/bin/lckill -------------------------------------------------------------------------------- /tool/bin/lcscons: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/tool/bin/lcscons -------------------------------------------------------------------------------- /tool/bin/lua2cpp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lichuan/gabriel/HEAD/tool/bin/lua2cpp.rb -------------------------------------------------------------------------------- /tool/bin/protoc-gen-lua: -------------------------------------------------------------------------------- 1 | /home/lichuan/repos/gabriel/protocol/plugin/protoc-gen-lua --------------------------------------------------------------------------------