From ebb8988a32bd5fe6c264ca5c1123664bf6081d17 Mon Sep 17 00:00:00 2001 From: NeteaseDev Date: Tue, 16 Dec 2025 11:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0SDK=E4=BF=AE=E6=94=B9Issue?= =?UTF-8?q?=E6=A8=A1=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/ISSUE_TEMPLATE/issue-template-sdk.yml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/issue-template-sdk.yml diff --git a/.github/ISSUE_TEMPLATE/issue-template-sdk.yml b/.github/ISSUE_TEMPLATE/issue-template-sdk.yml new file mode 100644 index 0000000..5a73ee4 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue-template-sdk.yml @@ -0,0 +1,49 @@ +name: SDK修改 +description: 一条SDK修改对应一条Issue,可以修改参数描述、接口备注等 +title: "[sdk] " +labels: [sdk] +body: + - type: textarea + id: sdk_name + attributes: + label: 接口名称 + description: 请填写接口的名称 + placeholder: | + 例如: CreateUI + validations: + required: true + + - type: dropdown + id: sdk_type + attributes: + label: 选择接口类型 + description: + options: + - 服务端 + - 客户端 + - 双端 + validations: + required: true + + - type: textarea + id: modifications + attributes: + label: 修改内容 + description: 详细描述修改后的内容 + placeholder: | + 例如: + # 以CreateUI为例 + 1、参数修改 + createParams的说明修改为:创建UI的参数,会传到UI类的_init_函数中,详细请看下方备注说明 + 2、备注修改 + createParams中的bindEntityId参数描述修改为:意为绑定实体的id。若不传入该键值对或值为None,则会以isHud = 0来处理该UI界面。血量显示模组可以使用该参数。 + validations: + required: true + + - type: textarea + id: other_content + attributes: + label: 其他补充信息 + description: 如有其他补充信息请填写在这里 + validations: + required: false