version : 2.0 卡尔猫,基于开源Nodejs服务端框架 Mydog 魔改而成
使用了Protobuf 作为 协议传输工具
使用MongoDB 作为 数据库
使用kL的开源配置工具--目前没有示例在卡尔猫 https://github.com/gh-kL/GameConfig
Base Mydog remould , NodeJS Server
Protobuf is used as a protocol tool
Used MongonDB
Used kL GameConfig Tools
https://github.com/ahuangege/mydog
need insatll NPM Package : protobufjs typescript ws
you can run :
npm i
and run this code by Terminal
npm start
client is Csharp , In this "Csharp" folder
the NetworkManager.cs , use his Function "Send" to KalrCat
1.npm start 实际上是把代码编译到dist, 其中 proto下的文件夹protobuf文件夹的内容并不会跟随tsc 一起编译过去,需要自己手动拖到dist上面
PS:其实这个卡尔猫源码,我自己都没执行过,因为又要装库到文件夹下,嫌麻烦,有问题直接找我
Add QQ : 441829663