| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- [
- {
- "excel_file_name": "D-地图-建筑.xlsx",
- "sheets": [
- {
- "sheet_name": "Sheet1",
- "row_offset": 2,
- "outputs": [
- {
- "enable": true,
- "read_type": "type_sjson",
- "parser_id": "table",
- "file_name": "map_build.json",
- "gen_codes": [
- {
- "read_type": "type_go"
- }
- ]
- },
- {
- "enable": true,
- "read_type": "type_cjson",
- "parser_id": "table_list",
- "file_name": "MapBuildCfg.json",
- "gen_codes": [
- {
- "read_type": "type_csharp"
- }
- ]
- }
- ],
- "indexes": [
- {
- "index_names": "ConfigID",
- "is_unique": true
- }
- ],
- "heads": [
- {
- "key": "建筑配置ID",
- "name": "ConfigID",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "名称Lang",
- "name": "NameLang",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "建筑大类",
- "name": "BuildingCategory",
- "side": "c",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "GameConfig.ConfigGen.BuildingCategory"
- },
- {
- "key": "城池类型Lang",
- "name": "CityTypeLang",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "大类名称Lang",
- "name": "CategoryNameLang",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "长描述Lang",
- "name": "DescLang",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "短描述Lang",
- "name": "ShortDescLang",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "建造消耗",
- "name": "BuildCost",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Assets",
- "type_cjson": "string",
- "type_csharp": "ArrayIntList,ArrayIntListConverter"
- },
- {
- "key": "建造时间",
- "name": "BuildTime",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int64",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "保护时间",
- "name": "ProtectTime",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int64",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "初始建造上限",
- "name": "InitBuildLimit",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "耐久",
- "name": "Durability",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "建造中耐久",
- "name": "BuildingDurability",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "可城外征兵",
- "name": "CanOutsideConscript",
- "side": "cs",
- "type_sjson": "bool",
- "type_go": "bool",
- "type_cjson": "bool",
- "type_csharp": "bool"
- },
- {
- "key": "可放弃",
- "name": "Discardable",
- "side": "cs",
- "type_sjson": "bool",
- "type_go": "bool",
- "type_cjson": "bool",
- "type_csharp": "bool"
- },
- {
- "key": "放弃时间",
- "name": "DiscardTime",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int64",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "耐久回复",
- "name": "DurabilityRecovery",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "float64",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "驻城部队",
- "name": "GarrisonArmies",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Pair[int32,int]",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "驻守部队兵力",
- "name": "GarrisonArmiesTroops",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "守军部队",
- "name": "DefendArmy",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "驻城部队名字",
- "name": "GarrisonArmiesName",
- "side": "c",
- "type_sjson": "array",
- "type_go": "types.Pair[int32,int]",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "守军部队名字",
- "name": "DefendArmyName",
- "side": "c",
- "type_sjson": "array",
- "type_go": "types.Pair[int32,int]",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "攻破类型",
- "name": "DestroyType",
- "side": "s",
- "type_sjson": "int",
- "type_go": "enum.DestroyType"
- },
- {
- "key": "建造类型",
- "name": "BuildType",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "enum.BuildType",
- "type_cjson": "int",
- "type_csharp": "EBuildType"
- },
- {
- "key": "建造放置条件",
- "name": "PlaceRules",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Pair[int32, int]",
- "type_cjson": "array",
- "type_csharp": "int[]"
- },
- {
- "key": "排序优先级",
- "name": "SortPriority",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "建造中模型",
- "name": "BuildModel",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "模型",
- "name": "Model",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "模型角度",
- "name": "ModelAngle",
- "side": "c",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "图像",
- "name": "Image",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "建造图标",
- "name": "Icon",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "略缩图",
- "name": "Thumbnail",
- "side": "c",
- "type_sjson": "string",
- "type_go": "string",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "领地半径",
- "name": "AreaRange",
- "side": "cs",
- "type_sjson": "int",
- "type_go": "int32",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "占地奇数偏移",
- "name": "CoverOddOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "占地偶数偏移",
- "name": "CoverEvenOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "攻城点奇数偏移",
- "name": "SiegeOddOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "攻城点偶数偏移",
- "name": "SiegeEvenOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "领土范围奇数偏移",
- "name": "AffectOddOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "领土范围偶数偏移",
- "name": "AffectEvenOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "领土范围外一圈奇数偏移",
- "name": "AffectEdgeOddOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "领土范围外一圈偶数偏移",
- "name": "AffectEdgeEvenOffsets",
- "side": "cs",
- "type_sjson": "array",
- "type_go": "types.Points",
- "type_cjson": "string",
- "type_csharp": "string"
- },
- {
- "key": "显示于同盟标记列表",
- "name": "ShowInAlMark",
- "side": "c",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "同盟标记建筑排序",
- "name": "AlMarkShowOrder",
- "side": "c",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "显示于个人建筑标记列表",
- "name": "ShowInSelfBuildMark",
- "side": "c",
- "type_cjson": "int",
- "type_csharp": "int"
- },
- {
- "key": "个人建筑标记排序",
- "name": "SelfBuildMarkShowOrder",
- "side": "c",
- "type_cjson": "int",
- "type_csharp": "int"
- }
- ]
- }
- ]
- }
- ]
|