Skip to content

Commit 05683b7

Browse files
committed
🐳 21.27
1 parent e075add commit 05683b7

File tree

21 files changed

+84
-20
lines changed

21 files changed

+84
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ ioGame 是轻量级的网络编程框架,**不依赖任何第三方**中间件
257257
<dependency>
258258
<groupId>com.iohao.game</groupId>
259259
<artifactId>run-one-netty</artifactId>
260-
<version>21.26</version>
260+
<version>21.27</version>
261261
</dependency>
262262
```
263263

changeLog_ioGame.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,70 @@
99
1010
------
1111

12+
### 2025-05-09 - v21.27
13+
14+
https://github.com/iohao/ioGame/releases/tag/21.27
15+
16+
17+
**Version update summary**
18+
19+
> 1. feat(generate-code): #449 Supports GDScript GenerateCode
20+
> 2. #444 Provides GDScript SDK
21+
> 3. #448 Provides GDScript Example with ioGame
22+
> 4. perf(core): ActionCommandDocKit
23+
24+
------
25+
26+
27+
28+
**feat(generate-code)**: #449 Supports GDScript GenerateCode
29+
30+
About examples: https://github.com/iohao/ioGameSdkGDScriptExampleGodot
31+
32+
33+
34+
```java
35+
public final class GenerateTest {
36+
// setting root path
37+
static String rootPath = "/Users/join/gitme/ioGame-sdk/";
38+
39+
public static void main(String[] args) {
40+
// CHINA or US
41+
Locale.setDefault(Locale.CHINA);
42+
43+
// Load the business framework of each gameLogicServer
44+
// cn: 加载游戏逻辑服的业务框架
45+
yourListLogic().forEach(BrokerClientStartup::createBarSkeleton);
46+
47+
/*
48+
* Generate actions, broadcasts, and error codes.
49+
* cn: 生成 action、广播、错误码
50+
*/
51+
52+
// ----- About generating GDScript code -----
53+
generateCodeGDScriptGodot();
54+
55+
// Added an enumeration error code class to generate error code related information
56+
IoGameDocumentHelper.addErrorCodeClass(YourGameCodeEnum.class);
57+
// Generate document
58+
IoGameDocumentHelper.generateDocument();
59+
}
60+
61+
private static void generateCodeGDScriptGodot() {
62+
var documentGenerate = new GDScriptDocumentGenerate();
63+
// By default, it will be generated in the target/code directory
64+
// cn: 设置代码生成所存放的路径,如果不做任何设置,将会生成在 target/code 目录中
65+
String path = rootPath + "ioGameSdkGDScriptExampleGodot/gen/code";
66+
documentGenerate.setPath(path);
67+
68+
IoGameDocumentHelper.addDocumentGenerate(documentGenerate);
69+
}
70+
}
71+
```
72+
73+
74+
75+
1276

1377

1478
### 2025-04-30 - v21.26

common/common-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>ioGame</artifactId>
77
<groupId>com.iohao.game</groupId>
8-
<version>21.26</version>
8+
<version>21.27</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

common/common-core/src/main/java/com/iohao/game/action/skeleton/IoGameVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public final class IoGameVersion {
2626
public static final String VERSION;
2727

2828
static {
29-
String internalVersion = "<version>21.26</version>";
29+
String internalVersion = "<version>21.27</version>";
3030

3131
VERSION = internalVersion
3232
.replace("<version>", "")

common/common-kit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>ioGame</artifactId>
77
<groupId>com.iohao.game</groupId>
8-
<version>21.26</version>
8+
<version>21.27</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

common/common-micro-kit/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.iohao.game</groupId>
88
<artifactId>ioGame</artifactId>
9-
<version>21.26</version>
9+
<version>21.27</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

common/common-validation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>ioGame</artifactId>
77
<groupId>com.iohao.game</groupId>
8-
<version>21.26</version>
8+
<version>21.27</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

external/external-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.iohao.game</groupId>
88
<artifactId>ioGame</artifactId>
9-
<version>21.26</version>
9+
<version>21.27</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

external/external-netty/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.iohao.game</groupId>
88
<artifactId>ioGame</artifactId>
9-
<version>21.26</version>
9+
<version>21.27</version>
1010
<relativePath>../../pom.xml</relativePath>
1111
</parent>
1212

net-bolt/bolt-broker-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>ioGame</artifactId>
77
<groupId>com.iohao.game</groupId>
8-
<version>21.26</version>
8+
<version>21.27</version>
99
<relativePath>../../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

0 commit comments

Comments
 (0)