Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sdk, Example, GenerateCode] Vue, WebSocket, Protobuf, TypeScript, Netty, ioGame Sdk 连接示例 #397

Open
iohao opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
future;将要提供 Features to be provided in the upcoming versions;近期版本将要提供的功能 game engine example;游戏客户端联调示例 Example of coupling with a game engine;与游戏客户端的联调示例

Comments

@iohao
Copy link
Owner

iohao commented Nov 15, 2024

计划 12 月提供。

该示例使用了ioGame TypeScript Sdk。ioGame SDK 提供了 Netty、WebScoket、Protobuf、TypeScript、ioGame 游戏服务器交互的简单封装。配合代码生成,可为客户端开发者减少巨大的工作量。

提前了解:https://www.yuque.com/iohao/game/wgqpyi3wof6sv5ml

@iohao
Copy link
Owner Author

iohao commented Nov 15, 2024

home

@iohao
Copy link
Owner Author

iohao commented Nov 15, 2024

java code

MyAction

TypeScript code

action、广播、错误码 ...等交互接口文件由 ioGame 生成,代码生成可为客户端开发者减少巨大的工作量。
Actions, broadcasts, and error codes are generated by ioGame. Code generation can greatly reduce the workload for client developers.

code style: callback
TsHello1

code style: async await
TsHello2

@iohao iohao added the future;将要提供 Features to be provided in the upcoming versions;近期版本将要提供的功能 label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future;将要提供 Features to be provided in the upcoming versions;近期版本将要提供的功能 game engine example;游戏客户端联调示例 Example of coupling with a game engine;与游戏客户端的联调示例
Projects
None yet
Development

No branches or pull requests

1 participant