修改导表工具 + 导出配置
parent
222a1da923
commit
766b12b2d9
|
|
@ -94,3 +94,4 @@ ProjectNLD/Packages/packages-lock.json
|
|||
ProjectNLD/Bundles
|
||||
ProjectNLD/yoo
|
||||
/ProjectNLD/Yoo_Build_Cache
|
||||
/ServerConfig
|
||||
|
|
|
|||
|
|
@ -73,11 +73,11 @@
|
|||
},
|
||||
{
|
||||
"ID": 8,
|
||||
"Type": 1,
|
||||
"Type": 5,
|
||||
"NameLocal": "ItemName_StaminaPotion",
|
||||
"Param1": 0,
|
||||
"Param2": 0,
|
||||
"Param3": 0,
|
||||
"Param1": 1,
|
||||
"Param2": 4,
|
||||
"Param3": 100,
|
||||
"MaxCount": 9999,
|
||||
"IconPath": "Assets/Art/UI/Texture/Icon/MaterialFragment/Icon_8.png",
|
||||
"Selections": [],
|
||||
|
|
@ -95,6 +95,18 @@
|
|||
"Selections": [],
|
||||
"MaxUseCount": 0
|
||||
},
|
||||
{
|
||||
"ID": 10,
|
||||
"Type": 1,
|
||||
"NameLocal": "ItemName_PieceExchange",
|
||||
"Param1": 0,
|
||||
"Param2": 0,
|
||||
"Param3": 0,
|
||||
"MaxCount": 99999,
|
||||
"IconPath": "Assets/Art/UI/Texture/Icon/MaterialFragment/Icon_1.png",
|
||||
"Selections": [],
|
||||
"MaxUseCount": 0
|
||||
},
|
||||
{
|
||||
"ID": 5,
|
||||
"Type": 5,
|
||||
|
|
@ -108,7 +120,7 @@
|
|||
"MaxUseCount": 0
|
||||
},
|
||||
{
|
||||
"ID": 10,
|
||||
"ID": 90,
|
||||
"Type": 5,
|
||||
"NameLocal": "",
|
||||
"Param1": 3,
|
||||
|
|
@ -129,7 +141,7 @@
|
|||
"MaxUseCount": 0
|
||||
},
|
||||
{
|
||||
"ID": 11,
|
||||
"ID": 91,
|
||||
"Type": 5,
|
||||
"NameLocal": "",
|
||||
"Param1": 2,
|
||||
|
|
|
|||
|
|
@ -9,30 +9,40 @@
|
|||
"MaterialFragment/Icon_3.png",
|
||||
"MaterialFragment/Icon_3.png",
|
||||
"MaterialFragment/Icon_3.png",
|
||||
"MaterialFragment/Icon_4.png"
|
||||
"MaterialFragment/Icon_8.png"
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": 92001,
|
||||
"Name": "荣誉勋章兑换",
|
||||
"NameLocal": "shop_name2",
|
||||
"PriceId": 2,
|
||||
"PriceId": 9,
|
||||
"RefreshType": 3,
|
||||
"GoodsPathList": [
|
||||
"MaterialFragment/Icon_1000011.png",
|
||||
"MaterialFragment/Icon_1000012.png"
|
||||
"MaterialFragment/Icon_1.png",
|
||||
"CharacterChip/Icon_101001.png",
|
||||
"CharacterChip/Icon_101002.png",
|
||||
"CharacterChip/Icon_101003.png",
|
||||
"CharacterChip/Icon_101004.png",
|
||||
"CharacterChip/Icon_101005.png",
|
||||
"MaterialFragment/Icon_104001.png",
|
||||
"MaterialFragment/Icon_104002.png",
|
||||
"MaterialFragment/Icon_104003.png",
|
||||
"MaterialFragment/Icon_104004.png",
|
||||
"MaterialFragment/Icon_104005.png",
|
||||
"MaterialFragment/Icon_104006.png"
|
||||
]
|
||||
},
|
||||
{
|
||||
"ID": 92002,
|
||||
"Name": "结业证书兑换",
|
||||
"NameLocal": "shop_name3",
|
||||
"PriceId": 1,
|
||||
"PriceId": 10,
|
||||
"RefreshType": 0,
|
||||
"GoodsPathList": [
|
||||
"MaterialFragment/Icon_1.png",
|
||||
"CharacterChip/Icon_101001.png",
|
||||
"MaterialFragment/Icon_102011.png"
|
||||
"CharacterChip/Icon_101002.png",
|
||||
"CharacterChip/Icon_101003.png"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
{
|
||||
"Id": 91001004,
|
||||
"NameLocal": "shop_GoodsName_91001004",
|
||||
"ItemID": 4,
|
||||
"ItemCount": 100,
|
||||
"ItemID": 8,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceCount": 50,
|
||||
"MaxPurchaseCount": 1,
|
||||
|
|
@ -193,10 +193,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001001,
|
||||
"NameLocal": "shop_GoodsName_93002001",
|
||||
"ItemID": 101002,
|
||||
"NameLocal": "shop_GoodsName_93001001",
|
||||
"ItemID": 101001,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 1,
|
||||
"MaxPurchaseCount": 50,
|
||||
"Successor": 93001002,
|
||||
|
|
@ -205,10 +205,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001002,
|
||||
"NameLocal": "shop_GoodsName_93002002",
|
||||
"ItemID": 101002,
|
||||
"NameLocal": "shop_GoodsName_93001001",
|
||||
"ItemID": 101001,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 2,
|
||||
"MaxPurchaseCount": 100,
|
||||
"Successor": 93001003,
|
||||
|
|
@ -217,10 +217,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001003,
|
||||
"NameLocal": "shop_GoodsName_93002003",
|
||||
"ItemID": 101002,
|
||||
"NameLocal": "shop_GoodsName_93001001",
|
||||
"ItemID": 101001,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 5,
|
||||
"MaxPurchaseCount": -1,
|
||||
"Successor": 0,
|
||||
|
|
@ -229,10 +229,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001004,
|
||||
"NameLocal": "shop_GoodsName_93002004",
|
||||
"ItemID": 101003,
|
||||
"NameLocal": "shop_GoodsName_93001002",
|
||||
"ItemID": 101002,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 1,
|
||||
"MaxPurchaseCount": 50,
|
||||
"Successor": 93001005,
|
||||
|
|
@ -241,10 +241,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001005,
|
||||
"NameLocal": "shop_GoodsName_93002005",
|
||||
"ItemID": 101003,
|
||||
"NameLocal": "shop_GoodsName_93001002",
|
||||
"ItemID": 101002,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 2,
|
||||
"MaxPurchaseCount": 100,
|
||||
"Successor": 93001006,
|
||||
|
|
@ -253,10 +253,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001006,
|
||||
"NameLocal": "shop_GoodsName_93002006",
|
||||
"ItemID": 101003,
|
||||
"NameLocal": "shop_GoodsName_93001002",
|
||||
"ItemID": 101002,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 5,
|
||||
"MaxPurchaseCount": -1,
|
||||
"Successor": 0,
|
||||
|
|
@ -265,10 +265,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001007,
|
||||
"NameLocal": "shop_GoodsName_93002007",
|
||||
"ItemID": 101004,
|
||||
"NameLocal": "shop_GoodsName_93001003",
|
||||
"ItemID": 101003,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 1,
|
||||
"MaxPurchaseCount": 50,
|
||||
"Successor": 93001008,
|
||||
|
|
@ -277,10 +277,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001008,
|
||||
"NameLocal": "shop_GoodsName_93002008",
|
||||
"ItemID": 101004,
|
||||
"NameLocal": "shop_GoodsName_93001003",
|
||||
"ItemID": 101003,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 2,
|
||||
"MaxPurchaseCount": 100,
|
||||
"Successor": 93001009,
|
||||
|
|
@ -289,10 +289,10 @@
|
|||
},
|
||||
{
|
||||
"Id": 93001009,
|
||||
"NameLocal": "shop_GoodsName_93002009",
|
||||
"ItemID": 101004,
|
||||
"NameLocal": "shop_GoodsName_93001003",
|
||||
"ItemID": 101003,
|
||||
"ItemCount": 1,
|
||||
"PriceID": 2,
|
||||
"PriceID": 10,
|
||||
"PriceCount": 5,
|
||||
"MaxPurchaseCount": -1,
|
||||
"Successor": 0,
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
"ID": 1,
|
||||
"Resolution": 480,
|
||||
"EnableShadow": false,
|
||||
"DisableRTPool": true,
|
||||
"EnablePostEffect": false,
|
||||
"EnablePostoutline": false,
|
||||
"UseSimpleShader": true,
|
||||
|
|
@ -17,6 +18,7 @@
|
|||
"ID": 2,
|
||||
"Resolution": 0,
|
||||
"EnableShadow": true,
|
||||
"DisableRTPool": false,
|
||||
"EnablePostEffect": true,
|
||||
"EnablePostoutline": false,
|
||||
"UseSimpleShader": false,
|
||||
|
|
@ -31,6 +33,7 @@
|
|||
"ID": 3,
|
||||
"Resolution": 0,
|
||||
"EnableShadow": true,
|
||||
"DisableRTPool": false,
|
||||
"EnablePostEffect": true,
|
||||
"EnablePostoutline": true,
|
||||
"UseSimpleShader": false,
|
||||
|
|
|
|||
|
|
@ -151,8 +151,7 @@
|
|||
"ShowSceneType": 0,
|
||||
"TimelineNames": [
|
||||
"0",
|
||||
"show_camp_dance_1",
|
||||
"show_camp_dance_2"
|
||||
"show_camp_situp_1"
|
||||
],
|
||||
"HasCharacter": false,
|
||||
"CharacterID": 0
|
||||
|
|
@ -161,11 +160,7 @@
|
|||
"GroupID": 5,
|
||||
"PointID": 11,
|
||||
"ShowSceneType": 0,
|
||||
"TimelineNames": [
|
||||
"0",
|
||||
"show_camp_dance_1",
|
||||
"show_camp_dance_2"
|
||||
],
|
||||
"TimelineNames": [],
|
||||
"HasCharacter": false,
|
||||
"CharacterID": 0
|
||||
},
|
||||
|
|
|
|||
|
|
@ -21215,7 +21215,7 @@
|
|||
{
|
||||
"ID": 92001,
|
||||
"Key": "shop_GoodsName_91001001",
|
||||
"Value": "角色经验点数包(小)",
|
||||
"Value": "小批训练用器材",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21224,7 +21224,7 @@
|
|||
{
|
||||
"ID": 92002,
|
||||
"Key": "shop_GoodsName_91001002",
|
||||
"Value": "角色经验点数包(中)",
|
||||
"Value": "大批训练用器材",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21233,7 +21233,7 @@
|
|||
{
|
||||
"ID": 92003,
|
||||
"Key": "shop_GoodsName_91001003",
|
||||
"Value": "角色经验点数包(大)",
|
||||
"Value": "超大批训练用器材",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21242,7 +21242,7 @@
|
|||
{
|
||||
"ID": 92004,
|
||||
"Key": "shop_GoodsName_91001004",
|
||||
"Value": "体力补充包",
|
||||
"Value": "IRP口粮",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21251,7 +21251,7 @@
|
|||
{
|
||||
"ID": 92005,
|
||||
"Key": "shop_GoodsName_92001001",
|
||||
"Value": "金币补充包",
|
||||
"Value": "一大袋联盟卢布",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21341,7 +21341,7 @@
|
|||
{
|
||||
"ID": 92015,
|
||||
"Key": "shop_GoodsName_92001011",
|
||||
"Value": "班(排)支援火器 兵器与操作教程",
|
||||
"Value": "班(排)支援火器 兵器与操作教程",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
|
|
@ -21376,6 +21376,15 @@
|
|||
},
|
||||
{
|
||||
"ID": 92019,
|
||||
"Key": "shop_GoodsName_93001003",
|
||||
"Value": "克劳迪娅的专业集训结业证书",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 92020,
|
||||
"Key": "shop_GoodsName_99001001",
|
||||
"Value": "钻石礼包1",
|
||||
"Param0": "",
|
||||
|
|
@ -21384,7 +21393,7 @@
|
|||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 92020,
|
||||
"ID": 92021,
|
||||
"Key": "shop_GoodsName_99001002",
|
||||
"Value": "钻石礼包2",
|
||||
"Param0": "",
|
||||
|
|
@ -21393,7 +21402,7 @@
|
|||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 92021,
|
||||
"ID": 92022,
|
||||
"Key": "shop_GoodsName_99001003",
|
||||
"Value": "钻石礼包3",
|
||||
"Param0": "",
|
||||
|
|
@ -21402,7 +21411,7 @@
|
|||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 92022,
|
||||
"ID": 92023,
|
||||
"Key": "shop_GoodsName_99001004",
|
||||
"Value": "钻石礼包4",
|
||||
"Param0": "",
|
||||
|
|
@ -21411,7 +21420,7 @@
|
|||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 92023,
|
||||
"ID": 92024,
|
||||
"Key": "shop_GoodsName_99001005",
|
||||
"Value": "钻石礼包5",
|
||||
"Param0": "",
|
||||
|
|
@ -22328,6 +22337,24 @@
|
|||
"Param2": "",
|
||||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 120008,
|
||||
"Key": "ItemName_pvp_coin",
|
||||
"Value": "pvp货币",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 120009,
|
||||
"Key": "ItemName_PieceExchange",
|
||||
"Value": "专业集训结业证书兑换券",
|
||||
"Param0": "",
|
||||
"Param1": "",
|
||||
"Param2": "",
|
||||
"Value_En": ""
|
||||
},
|
||||
{
|
||||
"ID": 121001,
|
||||
"Key": "ItemName_character_01",
|
||||
|
|
|
|||
|
|
@ -237,14 +237,8 @@ public class ConfigWindow : EditorWindow
|
|||
|
||||
GUILayout.Space(10);
|
||||
EditorGUILayout.BeginHorizontal();
|
||||
bool exportC = EditorGUILayout.ToggleLeft("导出客户端", ExportClient);
|
||||
if (exportC != ExportClient)
|
||||
{
|
||||
if (exportC)
|
||||
ExportServer = false;
|
||||
|
||||
ExportClient = exportC;
|
||||
}
|
||||
ExportClient = EditorGUILayout.ToggleLeft("导出客户端", ExportClient);
|
||||
ExportServer = EditorGUILayout.ToggleLeft("导出服务端", ExportServer);
|
||||
|
||||
GUILayout.Space(10);
|
||||
NeedDownload = EditorGUILayout.ToggleLeft("下载选中配置", NeedDownload);
|
||||
|
|
@ -428,7 +422,10 @@ public class ConfigWindow : EditorWindow
|
|||
}
|
||||
|
||||
if (ExportServer)
|
||||
ConfigTools.ConfigExportServer();
|
||||
{
|
||||
var lubanAsset = AssetDatabase.LoadAssetAtPath<LubanExportConfig>("Assets/Editor/Tools/Luban_Server.asset");
|
||||
lubanAsset.Gen();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,42 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fed7fb4ed3b748f8a9f245b9b9bc97fa, type: 3}
|
||||
m_Name: Luban_Server
|
||||
m_EditorClassIdentifier:
|
||||
before_gen:
|
||||
after_gen:
|
||||
which_dll: ../Tool/Luban/Luban.ClientServer/Luban.ClientServer.dll
|
||||
tpl_path:
|
||||
job: cfg --
|
||||
define_xml: ../Tool/Luban/Defines/__root__.xml
|
||||
input_data_dir: ../Tool/Luban/Datas
|
||||
gen_types: 1028
|
||||
service: client
|
||||
output_data_dir: Assets/Config/Data
|
||||
output_code_dir: Assets/Code/Scripts/GenCode/Luban/DataTable
|
||||
bright_module_name:
|
||||
output_data_resources_list_file:
|
||||
output_exclude_tags:
|
||||
output_data_file_extension:
|
||||
output_data_compact_json: 0
|
||||
output_data_json_monolithic_file:
|
||||
i10n_timezone:
|
||||
i10n_input_text_files:
|
||||
i10n_text_field_name:
|
||||
i10n_output_not_translated_text_file:
|
||||
i10n_path:
|
||||
i10n_patch_input_data_dir:
|
||||
naming_convertion_module: 0
|
||||
naming_convertion_bean_member: 0
|
||||
naming_convertion_enum_member: 0
|
||||
cs_use_unity_vestor: 0
|
||||
external_selectors:
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 3cae9872f562c134fbc913adeb2f246f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Loading…
Reference in New Issue