Skip to content

服务端游戏核心包(线程模型,配置读取,日志基层,数据存储,协议传输)

License

Notifications You must be signed in to change notification settings

chenmingq/ServerCore

 
 

Repository files navigation

Build Status GitHub issues GitHub forks GitHub stars GitHub license Maven Central GitHub followers GitHub watchers

ServerCore架构设计图

  • 网络通讯模块

注意事项

请一定要先安装lombok插件,少写很多getter/setter。不装插件会找不到getter/setter方法

引用方式

第一种方式比较方便,可以引用整个标准库,第二种方式比较灵活。如果你只用得上其中某个模块的功能,适合单独引用。

1. 一次引用全部

    <dependency>
      <groupId>info.xiaomo</groupId>
      <artifactId>all</artifactId>
      <version>RELEASE</version>
    </dependency>

2. 单独引用

        <dependency>
            <groupId>info.xiaomo</groupId>
            <artifactId>base</artifactId>
            <version>RELEASE</version>
        </dependency>
        <dependency>
            <groupId>info.xiaomo</groupId>
            <artifactId>config</artifactId>
            <version>RELEASE</version>
        </dependency>
        <dependency>
            <groupId>info.xiaomo</groupId>
            <artifactId>persist</artifactId>
            <version>RELEASE</version>
        </dependency>
        <dependency>
            <groupId>info.xiaomo</groupId>
            <artifactId>logger</artifactId>
            <version>RELEASE</version>
        </dependency>
        <dependency>
            <groupId>info.xiaomo</groupId>
            <artifactId>protocol</artifactId>
            <version>RELEASE</version>
        </dependency>

各模块代码说明

更新日志

  • 2017 7.13 开始搭建gameCore底层
  • 2017 7.15 分模块构建,解耦
  • 2017 8.10 添加websocket分支
  • 2017 8.10 搭建私有仓库nexus
  • 2017 8.10 添加 apache license
  • 2017 8.10 添加travis CI自动化构建
  • 2017 8.11 修改部分线程模型
  • 2017 8.11 添加all模块,支持单个模块引用和一次全部引用
  • 2017 8.12 添加excel解析支持
  • 2017 8.12 使用lombok
  • 2017 8.12 使用protobuf协议通讯
  • 2017 8.15 添加客户端功能连接
  • 2017 8.16 添加后台支持,允许通过后台关服
  • 2017 8.18 java客户端和服务端通讯模块调通
  • 2017 8.19 添加开发进度描述
  • 2017 8.19 添加github Pages页面
  • 2017 8.19 添加develop分支,将master作用稳定版本
  • 2017 8.24 config模块实现excel配置表读取功能,支持.xls,.xlsx等多种excel文件格式(默认为xlsx)
  • 2017 8.24 发布版本2017.1,定为以年份为开头
  • 2017 8.24 支持socket和webSocket连接方式(默认为socket),如果是websocket只需要在NetworkServiceBuilder构建的时候把isWebsocket设为true
  • 2017 8.29 优化消息协议

项目沟通群

665419015

   Copyright 2017 ChessGame Group

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.

About

服务端游戏核心包(线程模型,配置读取,日志基层,数据存储,协议传输)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%