From 015cd1b66b798f62c64cb0cdf0c1ddab5210c27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 22 Apr 2024 16:28:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8DLua=E6=8F=92=E4=BB=B63.8.0?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/metaBuilder/playerAttrs.ts | 3 +-- src/metaBuilder/unitAttrs.ts | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/metaBuilder/playerAttrs.ts b/src/metaBuilder/playerAttrs.ts index f7ea4fd..4258f42 100644 --- a/src/metaBuilder/playerAttrs.ts +++ b/src/metaBuilder/playerAttrs.ts @@ -2,8 +2,7 @@ import { define } from '../customDefine'; import { BaseBuilder } from './baseBuilder'; const template = -`---@diagnostic disable-next-line: duplicate-doc-alias ----@enum(key) y3.Const.PlayerAttr +`---@enum(key, partial) y3.Const.PlayerAttr local PlayerAttr = { %{ATTR_ENUMS} } diff --git a/src/metaBuilder/unitAttrs.ts b/src/metaBuilder/unitAttrs.ts index 153d021..d6052a1 100644 --- a/src/metaBuilder/unitAttrs.ts +++ b/src/metaBuilder/unitAttrs.ts @@ -2,8 +2,7 @@ import { define } from '../customDefine'; import { BaseBuilder } from './baseBuilder'; const template = -`---@diagnostic disable-next-line: duplicate-doc-alias ----@enum(key) y3.Const.UnitAttr +`---@enum(key, partial) y3.Const.UnitAttr local UnitAttr = { %{ATTR_ENUMS} }