Skip to content

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

License

Notifications You must be signed in to change notification settings

GEngine-JP/GEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

ServerCore架构设计图

  • 网络通讯模块

注意事项

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

添加仓库源

添加以下仓库到你的pom.xml文件中

    <repositories>
        <repository>
            <id>github</id>
            <url>https://maven.pkg.github.com/GEngine-JP/GEngine</url>
        </repository>
    </repositories>

如果项目的pom.xml文件不加这段内容会找不到对应的jar包

添加授权信息

windows默认放在C:/Users/用户名/.m2/settings.xml
mac os默认放在在 ~/.m2/settings.xml,下

settings.xml

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<activeProfiles>
    <activeProfile>github</activeProfile>
  </activeProfiles>
  <profiles>
    <profile>
      <id>github</id>
      <repositories>
        <repository>
          <id>github</id>
          <name>GitHub OWNER Apache Maven Packages</name>
          <url>https://maven.pkg.github.com/GEngine-JP/GEngin</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
  <servers>
    <server>
      <id>github</id>
      <username>houko</username>
      <password>0586b09e7a7eb523c301de480f2cfff4eda67d02</password>
    </server>
  </servers>
</settings>

添加引用

在你的pom文件中dependencies添加以下引用

    <dependency>
      <groupId>info.xiaomo</groupId>
      <artifactId>g-engine</artifactId>
      <version>3.2.3</version>
    </dependency>

更新日志

release

协议声明

LICENSE