示例#1
0
 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);
 }
示例#2
0
 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);
 }