|
@@ -58,8 +58,7 @@ namespace ET
|
|
|
// 服务端因为机器人的存在必须包含客户端所有配置,所以单独的c字段没有意义,单独的c就表示cs
|
|
|
private const string ServerClassDir = "../DotNet/Model/Generate/Config";
|
|
|
|
|
|
- private const string CSClassDir = "../Unity/Assets/Scripts/Codes/Model/Client/Generate/Config";
|
|
|
- // private const string CSClassDir = "../Unity/Assets/Scripts/Codes/Model/Generate/ClientServer/Config";
|
|
|
+ private const string CSClassDir = "../Unity/Assets/Scripts/Codes/Model/Generate/ClientServer/Config";
|
|
|
|
|
|
private const string excelDir = "../Config/Excel/";
|
|
|
|
|
@@ -172,13 +171,13 @@ namespace ET
|
|
|
{
|
|
|
ExportClass(kv.Key, kv.Value.HeadInfos, ConfigType.s);
|
|
|
}
|
|
|
- ExportClass(kv.Key, kv.Value.HeadInfos, ConfigType.cs);
|
|
|
+ // ExportClass(kv.Key, kv.Value.HeadInfos, ConfigType.cs);
|
|
|
}
|
|
|
|
|
|
// 动态编译生成的配置代码
|
|
|
configAssemblies[(int) ConfigType.c] = DynamicBuild(ConfigType.c);
|
|
|
configAssemblies[(int) ConfigType.s] = DynamicBuild(ConfigType.s);
|
|
|
- configAssemblies[(int) ConfigType.cs] = DynamicBuild(ConfigType.cs);
|
|
|
+ // configAssemblies[(int) ConfigType.cs] = DynamicBuild(ConfigType.cs);
|
|
|
|
|
|
List<string> excels = FileHelper.GetAllFiles(excelDir, "*.xlsx");
|
|
|
|
|
@@ -257,8 +256,8 @@ namespace ET
|
|
|
ExportExcelJson(p, fileNameWithoutCS, table, ConfigType.s, relativePath);
|
|
|
ExportExcelProtobuf(ConfigType.s, protoName, relativePath);
|
|
|
}
|
|
|
- ExportExcelJson(p, fileNameWithoutCS, table, ConfigType.cs, relativePath);
|
|
|
- ExportExcelProtobuf(ConfigType.cs, protoName, relativePath);
|
|
|
+ // ExportExcelJson(p, fileNameWithoutCS, table, ConfigType.cs, relativePath);
|
|
|
+ // ExportExcelProtobuf(ConfigType.cs, protoName, relativePath);
|
|
|
}
|
|
|
|
|
|
private static string GetProtoDir(ConfigType configType, string relativeDir)
|