Dev coolfish#40
Merged
Merged
Conversation
- 移除 README.md 和 README_en.md API 表格中的 "✅ Box3" 和 "🆕 MC Extension" 标识 - 将文档表格中的扩展标识改为客户端 API 使用 "Client",服务端 API 使用 "Server" - 新增 gui API 文档,包含 openGUI 方法及 GuiController 相关方法 - 新增客户端 API 方法:getFPS、getPlayer、getLookingAt、getServerInfo - 新增输入 API 方法:getMouseX、getMouseY、onMouseClick - 新增 UI API 方法:getScreenSize、drawText、removeDrawText、clearDrawTexts - 移除所有客户端 API 方法描述中的 "🆕 MC Extension" 前缀 - 更新 BOX3_API_COMPARISON.md 中的图例说明,移除 MC 相关引用 - 移除关于 setTimeout/setInterval 的 Box3 平台扩展说明 - 更新多个 API 属性描述,移除 Box3 API 标识
- 将 `world.projectName` 从属性改为方法 `world.projectName()`,返回当前脚本项目名称;使用 `world.serverId` 获取服务器 MOTD - 将 `world.currentTick` 从属性改为方法 `world.currentTick()`,返回服务器启动以来的总 tick 数 - 在 README 中新增服务端概述文档章节 - 在客户端 API 文档中增加 `gui` 全局对象 - 明确所有 API 对象的运行时环境(服务端/客户端/共享) - 按运行时环境拆分文档结构 - 添加文档风格规范与指南 - 将类型声明按服务端/客户端整理到对应目录 - 明确说明客户端脚本无法直接修改服务端世界 - 更新数据库、HTTP 及存储 API 文档,补充运行时信息 - 修正示例路径,使用 `src/server/app.ts` 替代 `src/app.ts` - 更新完整的 API 对比表
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.