public static void SendDownloadFilesProgressMsg(int totalDownloadCount, int currentDownloadCount, long totalDownloadSizeKB, long currentDownloadSizeKB) { PatchEventMessageDefine.DownloadFilesProgress msg = new PatchEventMessageDefine.DownloadFilesProgress(); msg.TotalDownloadCount = totalDownloadCount; msg.CurrentDownloadCount = currentDownloadCount; msg.TotalDownloadSizeKB = totalDownloadSizeKB; msg.CurrentDownloadSizeKB = currentDownloadSizeKB; EventManager.Instance.SendMessage(EPatchEventMessageTag.PatchManagerEvent.ToString(), msg); }
public static void SendDownloadFilesProgressMsg(int totalDownloadCount, int currentDownloadCount, long totalDownloadSizeBytes, long currentDownloadSizeBytes) { PatchEventMessageDefine.DownloadFilesProgress msg = new PatchEventMessageDefine.DownloadFilesProgress(); msg.TotalDownloadCount = totalDownloadCount; msg.CurrentDownloadCount = currentDownloadCount; msg.TotalDownloadSizeBytes = totalDownloadSizeBytes; msg.CurrentDownloadSizeBytes = currentDownloadSizeBytes; EventManager.Instance.SendMessage(msg); }