[ { "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" } ] } ] } ]