示例#1
0
 protected virtual void OnCompacting(MpqArchiveCompactingEventArgs e)
 {
     foreach (var cb in _compactCallbacks)
     {
         cb(this, e);
     }
 }
示例#2
0
        private void _OnCompact(IntPtr pvUserData, uint dwWorkType, ulong bytesProcessed, ulong totalBytes)
        {
            MpqArchiveCompactingEventArgs args = new MpqArchiveCompactingEventArgs(dwWorkType, bytesProcessed, totalBytes);

            OnCompacting(args);
        }