From 9f687adcf1edcdf1f35c8af3bfae7f06d4de12c1 Mon Sep 17 00:00:00 2001 From: walon Date: Sat, 29 Jan 2022 11:05:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E6=96=B0?= =?UTF-8?q?=E5=A2=9Ecode=5Fcs=5Funity=5Feditor=5Fjson=E6=97=B6=E5=A4=B1?= =?UTF-8?q?=E8=AF=AF=E6=94=B9=E4=BA=86cs=5Fjson=E7=9A=84=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E3=80=82=E5=9B=9E=E6=BB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Server/Templates/config/cs_json/bean.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Luban.Server/Templates/config/cs_json/bean.tpl b/src/Luban.Server/Templates/config/cs_json/bean.tpl index eebba58..527755b 100644 --- a/src/Luban.Server/Templates/config/cs_json/bean.tpl +++ b/src/Luban.Server/Templates/config/cs_json/bean.tpl @@ -10,7 +10,7 @@ using System.Text.Json; hierarchy_export_fields = x.hierarchy_export_fields }} -namespace {{x.namespace_with_editor_top_module}} +namespace {{x.namespace_with_top_module}} { {{~if x.comment != '' ~}} @@ -18,7 +18,7 @@ namespace {{x.namespace_with_editor_top_module}} /// {{x.escape_comment}} /// {{~end~}} -public {{x.cs_class_modifier}} partial class {{name}} : {{if parent_def_type}} {{parent}} {{else}} Bright.Config.EditorBeanBase {{end}} +public {{x.cs_class_modifier}} partial class {{name}} : {{if parent_def_type}} {{parent}} {{else}} Bright.Config.BeanBase {{end}} { public {{name}}(JsonElement _json) {{if parent_def_type}} : base(_json) {{end}} {