ref[csharp]: refactor generate csharp protocol

This commit is contained in:
godotg committed 2024-05-22 15:48:28 +08:00
1 parent e935f864b1
commit 7fedbe547e
5 files changed
+17 -8

No files matched your search

@@ -13,10 +13,19 @@ public interface ICodeGenerate {
void init(GenerateOperation generateOperation);
/**
* 将一个包下的协议文件生成在一个协议文件里
*/
void mergerProtocol(List<IProtocolRegistration> registrations) throws IOException;
/**
* 折叠协议,生成协议文件会和Java源文件保持相同的目录结构
*/
void foldProtocol(List<IProtocolRegistration> registrations) throws IOException;
/**
* 默认把所有的协议文件放在同一个更目录下,不做任何操作
*/
void defaultProtocol(List<IProtocolRegistration> registrations) throws IOException;
}