Helper Functions to get all functions across the given apis
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- api
调研方向
Start by locating the exports for raylib.raylib and raylib.raymath, then review the issue's getAllDefines example and the related API data structures. The work is done when a helper combines entries from the given APIs and removes duplicate names consistently.
由索引模型根据 Issue 内容生成。
描述
A function that will combine some of the APIs together, and remove the duplicates. Did this for raylib-umka...
/**
* Retrieve all defines across all the raylib modules.
*/
function getAllDefines() {
let defineNames = []
let allDefines = [
...raylib.raylib.defines,
...raylib.raymath.defines
]
allDefines = allDefines.filter(defineDetails => {
if (defineNames.includes(defineDetails.name)) {
return false
}
defineNames.push(defineDetails.name)
return true
})
return allDefines
}
- 主要语言
- Lua
- 星标
- 12
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
-
Addon Conflict Bug Forever Module - Map / Minimap
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Zenmap
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 3 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
PathOfBuildingCommunity/PathOfBuilding#10395 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 78/100