热更系统修改并测试

This commit is contained in:
2025-11-04 16:19:53 +08:00
parent db6f5d147e
commit 4ba496506d
25 changed files with 477 additions and 2122 deletions

View File

@@ -6,6 +6,7 @@ public static class PatchEvent
public static event Action<string> OnStatusUpdate;
public static event Action<float> OnProgressUpdate;
public static event Action<string> OnDownloadSizeUpdate;
public static event Action OnClosePatchWindow;
public static void UpdateStatus(string status)
{
@@ -21,4 +22,8 @@ public static class PatchEvent
{
OnDownloadSizeUpdate?.Invoke(sizeText);
}
public static void ClosePatchWindow()
{
OnClosePatchWindow?.Invoke();
}
}