Skip to content

Actor based c++distributed game server framework

License

Notifications You must be signed in to change notification settings

chenanxing/ngl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngl

  • Actor based c++distributed game server framework
  • 基于Actor的c++分布式游戏服务器框架

依赖的第三方库

  • boost
  • cryptopp
  • curl
  • hiredis
  • mysql connect/c
  • protobuf 3.13.0

目录

  • ngl/3part
    此目录用于存放第三方库
  • ngl/tools/public/idl
    csv表生成
  • ngl/tools/public/proto
    proto协议生成
  • ngl/tools/public/rebuild.bat
    与cmake unity build类似的加速编译
  • ngl/public/cpp
    cpp服务器源码
  • ngl/public/csharp
    cs客户端源码(主要包含消息、网络、csv的读取)
  • ngl/server
    项目源文件

协议支持

  • tcp
  • ws
  • kcp

Linux CentOs编译

  • 编译安装gcc (GCC) 13.1.0
  • 编译安装protobuf 3.13.0
  • 下载新版本的boost,boost编译并剪裁后将其放置在目录/3part/boost/下
  • 其他第三方库自行 yum install 进行安装
  • 创建build目录,在build目录下cmake .., 然后make
  • 在linux编译运行
    [root@localhost bin]# cat /etc/centos-release
    CentOS Linux release 7.9.2009 (Core)
    [root@localhost bin]# gcc --version
    gcc (GCC) 13.1.0
    
  • 在win编译运行(vs2022)

更多介绍

QQ群

  • 56257994

About

Actor based c++distributed game server framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 48.3%
  • C# 45.4%
  • C 4.3%
  • PHP 1.1%
  • CMake 0.6%
  • Shell 0.2%
  • Batchfile 0.1%