Skip to content

Commit 3087742

Browse files
committed
refactor(ProtoBuffServerHelper): 修改Post方法参数为LauncherOptions对象
将Post方法的第二个参数从字符串路径改为LauncherOptions对象,提高代码的可维护性和扩展性
1 parent ef510e6 commit 3087742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProtoExport/ProtoBuffServerHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public void Run(MessageInfoList messageInfoList, string outputPath, string names
151151
File.WriteAllText(messageInfoList.OutputPath + ".cs", sb.ToString(), Encoding.UTF8);
152152
}
153153

154-
public void Post(List<MessageInfoList> operationCodeInfo, string launcherOptionsOutputPath)
154+
public void Post(List<MessageInfoList> operationCodeInfo, LauncherOptions launcherOptions)
155155
{
156156
}
157157
}

0 commit comments

Comments
 (0)