From b09ff15cb66c9c993f3a3e65863f12e0a198c028 Mon Sep 17 00:00:00 2001 From: TongZiGang <754383023@qq.com> Date: Thu, 17 Jul 2025 10:40:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E4=B8=8D=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=9A=84=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/MiniTemplate/Datas/#demo.item.xlsx | Bin 9039 -> 0 bytes Config/MiniTemplate/output/Gen/Tables.cs | 3 - Config/MiniTemplate/output/Gen/demo/Tbitem.cs | 52 -------------- Config/MiniTemplate/output/Gen/demo/item.cs | 65 ------------------ .../output/bytes/demo_tbitem.bytes | 2 - .../AssetBundle/Config/demo_tbitem.bytes | 2 - .../AssetBundle/Config/demo_tbitem.bytes.meta | 7 -- .../Scripts/GameLogic/Export/Config/Tables.cs | 3 - .../Scripts/GameLogic/Export/Config/demo.meta | 8 --- .../GameLogic/Export/Config/demo/Tbitem.cs | 52 -------------- .../Export/Config/demo/Tbitem.cs.meta | 11 --- .../GameLogic/Export/Config/demo/item.cs | 65 ------------------ .../GameLogic/Export/Config/demo/item.cs.meta | 11 --- 13 files changed, 281 deletions(-) delete mode 100644 Config/MiniTemplate/Datas/#demo.item.xlsx delete mode 100644 Config/MiniTemplate/output/Gen/demo/Tbitem.cs delete mode 100644 Config/MiniTemplate/output/Gen/demo/item.cs delete mode 100644 Config/MiniTemplate/output/bytes/demo_tbitem.bytes delete mode 100644 UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes delete mode 100644 UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes.meta delete mode 100644 UnityGame/Assets/Scripts/GameLogic/Export/Config/demo.meta delete mode 100644 UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs delete mode 100644 UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs.meta delete mode 100644 UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs delete mode 100644 UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs.meta diff --git a/Config/MiniTemplate/Datas/#demo.item.xlsx b/Config/MiniTemplate/Datas/#demo.item.xlsx deleted file mode 100644 index 974ed8bdf83d842aaf4e938c1cba4620346107dd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9039 zcmeHtg;!hY_I7Z0DOM<2EVx5)DITO0DNrOh!J#;$IHkC|Q>3MZ;_gmyC~l=d2&KjK zm(I-nW~MXWUvTfqTIZ~+9G%uy8X^d4SAkC$|TU$VWT}Gvn%7%`@E;_Nxv{hs;xw6ngB zJ_cPj36a^D0*!K{gXy7@^8k>2bS-%mA7tFWM~bXaZTMT)gXJscbrPDMRcgzooY*)^ z4GIQF&b8wH9C=MqVRmRh>A+xvNQdTu1&tr1WCCLgRpI=O^pt3~=|_hw;a~?nlYjWZ z+Q6>3FYME{(M$MI%5EUvEjj>jcZUK1{f(9%pYSjqBVtVr!8#lSElpj)4sP6BKhOW8 z<9{&+|8nb<3F?~NJh)+pkFUcA&SsY52xV2hWF9xu>jnfVFA;o|hsbm0WaczoNyVGh zvo)5zqMfXlQz|TyVwy1WN9ns1aM%X008R< z3K1Yy=7j^dmy@f#xs#LqPu;3~vIr^UA@n!3y+gXlHpe7{s+0rX)J=Lm`M7Y(ti2sX zQVFnfoGL26JQQc4Z`~?hgvk4u!8ZB%tw(kj>eyp2*qJsxLSQ7Xa1E^`tWVfw+pTx3 zf^gqF&Q4626OfJ7EvPv{dxLw(7e%2~)Z{yA#a4uio)ne2`7c!+|jUJZ=A)#pAckUs0w+C8~*U9~xX>aNePf^qDHw$QWkp$zrZNoM=H2#)#2O ztt_e+-=!+D4Tx8^O+8Pwkak;tN3S7L2JYN%(La@@4&N1yop=cv=) z<~Dp`N_$SyKPZq>;^~uvKE4+Et@~A?9@*8F{Rn1b+%Dr3^TH`PbvSU?bS$vzD)-Hm zm%5YhY|frNJ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?mzZ>}bko7;npVw3bN&Yf&{T2A@ z;OS3j3t|-Y%NXic@ZbCIe?kF(?^wTq|3BUMU+w(bl>O5ZGw%QU6aQ$@{%Ymde$<~< zoDm~6#I5|=o%+?luNCy42JXmzGw^3U{VVj>QsYl35!LU|Uki_4E&N?g|HK0T&eQ loader) { - Tbitem = new demo.Tbitem(loader("demo_tbitem")); TbLanguage = new TbLanguage(loader("tblanguage")); ResolveRef(); } private void ResolveRef() { - Tbitem.ResolveRef(this); TbLanguage.ResolveRef(this); } } diff --git a/Config/MiniTemplate/output/Gen/demo/Tbitem.cs b/Config/MiniTemplate/output/Gen/demo/Tbitem.cs deleted file mode 100644 index ac2b195..0000000 --- a/Config/MiniTemplate/output/Gen/demo/Tbitem.cs +++ /dev/null @@ -1,52 +0,0 @@ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using Luban; - - -namespace cfg.demo -{ -public partial class Tbitem -{ - private readonly System.Collections.Generic.Dictionary _dataMap; - private readonly System.Collections.Generic.List _dataList; - - public Tbitem(ByteBuf _buf) - { - _dataMap = new System.Collections.Generic.Dictionary(); - _dataList = new System.Collections.Generic.List(); - - for(int n = _buf.ReadSize() ; n > 0 ; --n) - { - demo.item _v; - _v = global::cfg.demo.item.Deserializeitem(_buf); - _dataList.Add(_v); - _dataMap.Add(_v.Id, _v); - } - } - - public System.Collections.Generic.Dictionary DataMap => _dataMap; - public System.Collections.Generic.List DataList => _dataList; - - public demo.item GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null; - public demo.item Get(int key) => _dataMap[key]; - public demo.item this[int key] => _dataMap[key]; - - public void ResolveRef(Tables tables) - { - foreach(var _v in _dataList) - { - _v.ResolveRef(tables); - } - } - -} - -} - diff --git a/Config/MiniTemplate/output/Gen/demo/item.cs b/Config/MiniTemplate/output/Gen/demo/item.cs deleted file mode 100644 index cd7ec13..0000000 --- a/Config/MiniTemplate/output/Gen/demo/item.cs +++ /dev/null @@ -1,65 +0,0 @@ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using Luban; - - -namespace cfg.demo -{ -public sealed partial class item : Luban.BeanBase -{ - public item(ByteBuf _buf) - { - Id = _buf.ReadInt(); - Name = _buf.ReadString(); - Desc = _buf.ReadString(); - Count = _buf.ReadInt(); - } - - public static item Deserializeitem(ByteBuf _buf) - { - return new demo.item(_buf); - } - - /// - /// id - /// - public readonly int Id; - /// - /// 名称 - /// - public readonly string Name; - /// - /// 描述 - /// - public readonly string Desc; - /// - /// 个数 - /// - public readonly int Count; - - public const int __ID__ = 750578750; - public override int GetTypeId() => __ID__; - - public void ResolveRef(Tables tables) - { - } - - public override string ToString() - { - return "{ " - + "id:" + Id + "," - + "name:" + Name + "," - + "desc:" + Desc + "," - + "count:" + Count + "," - + "}"; - } -} -} - diff --git a/Config/MiniTemplate/output/bytes/demo_tbitem.bytes b/Config/MiniTemplate/output/bytes/demo_tbitem.bytes deleted file mode 100644 index 6db22b4..0000000 --- a/Config/MiniTemplate/output/bytes/demo_tbitem.bytes +++ /dev/null @@ -1,2 +0,0 @@ -道具1描述1 -道具2描述2d \ No newline at end of file diff --git a/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes b/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes deleted file mode 100644 index 6db22b4..0000000 --- a/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes +++ /dev/null @@ -1,2 +0,0 @@ -道具1描述1 -道具2描述2d \ No newline at end of file diff --git a/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes.meta b/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes.meta deleted file mode 100644 index d689ce7..0000000 --- a/UnityGame/Assets/AssetBundle/Config/demo_tbitem.bytes.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7bff501078c798e41b3b26d474f93afe -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/Tables.cs b/UnityGame/Assets/Scripts/GameLogic/Export/Config/Tables.cs index b840a9b..6707ecf 100644 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/Tables.cs +++ b/UnityGame/Assets/Scripts/GameLogic/Export/Config/Tables.cs @@ -13,19 +13,16 @@ namespace cfg { public partial class Tables { - public demo.Tbitem Tbitem {get; } public TbLanguage TbLanguage {get; } public Tables(System.Func loader) { - Tbitem = new demo.Tbitem(loader("demo_tbitem")); TbLanguage = new TbLanguage(loader("tblanguage")); ResolveRef(); } private void ResolveRef() { - Tbitem.ResolveRef(this); TbLanguage.ResolveRef(this); } } diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo.meta b/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo.meta deleted file mode 100644 index 25d8e04..0000000 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4606e615a92487b4a8278a39cd4e8050 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs b/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs deleted file mode 100644 index ac2b195..0000000 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs +++ /dev/null @@ -1,52 +0,0 @@ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using Luban; - - -namespace cfg.demo -{ -public partial class Tbitem -{ - private readonly System.Collections.Generic.Dictionary _dataMap; - private readonly System.Collections.Generic.List _dataList; - - public Tbitem(ByteBuf _buf) - { - _dataMap = new System.Collections.Generic.Dictionary(); - _dataList = new System.Collections.Generic.List(); - - for(int n = _buf.ReadSize() ; n > 0 ; --n) - { - demo.item _v; - _v = global::cfg.demo.item.Deserializeitem(_buf); - _dataList.Add(_v); - _dataMap.Add(_v.Id, _v); - } - } - - public System.Collections.Generic.Dictionary DataMap => _dataMap; - public System.Collections.Generic.List DataList => _dataList; - - public demo.item GetOrDefault(int key) => _dataMap.TryGetValue(key, out var v) ? v : null; - public demo.item Get(int key) => _dataMap[key]; - public demo.item this[int key] => _dataMap[key]; - - public void ResolveRef(Tables tables) - { - foreach(var _v in _dataList) - { - _v.ResolveRef(tables); - } - } - -} - -} - diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs.meta b/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs.meta deleted file mode 100644 index 1922c9f..0000000 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/Tbitem.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4efa3e31c10cd944985ab8bda2628e1a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs b/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs deleted file mode 100644 index cd7ec13..0000000 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs +++ /dev/null @@ -1,65 +0,0 @@ - -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using Luban; - - -namespace cfg.demo -{ -public sealed partial class item : Luban.BeanBase -{ - public item(ByteBuf _buf) - { - Id = _buf.ReadInt(); - Name = _buf.ReadString(); - Desc = _buf.ReadString(); - Count = _buf.ReadInt(); - } - - public static item Deserializeitem(ByteBuf _buf) - { - return new demo.item(_buf); - } - - /// - /// id - /// - public readonly int Id; - /// - /// 名称 - /// - public readonly string Name; - /// - /// 描述 - /// - public readonly string Desc; - /// - /// 个数 - /// - public readonly int Count; - - public const int __ID__ = 750578750; - public override int GetTypeId() => __ID__; - - public void ResolveRef(Tables tables) - { - } - - public override string ToString() - { - return "{ " - + "id:" + Id + "," - + "name:" + Name + "," - + "desc:" + Desc + "," - + "count:" + Count + "," - + "}"; - } -} -} - diff --git a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs.meta b/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs.meta deleted file mode 100644 index dfe9f7e..0000000 --- a/UnityGame/Assets/Scripts/GameLogic/Export/Config/demo/item.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a7df9262867985e4cb8dd577a4177710 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: