mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +08:00
updated ExtractFiles call with new callback syntax.
This commit is contained in:
parent
867adcdd31
commit
a4570fdb04
@ -29,9 +29,16 @@ namespace GARbro
|
|||||||
|
|
||||||
void ExtractAll (ArcFile arc)
|
void ExtractAll (ArcFile arc)
|
||||||
{
|
{
|
||||||
arc.ExtractFiles ((i, entry) => {
|
arc.ExtractFiles ((i, entry, msg) => {
|
||||||
|
if (null != entry)
|
||||||
|
{
|
||||||
Console.WriteLine ("Extracting {0} ...", entry.Name);
|
Console.WriteLine ("Extracting {0} ...", entry.Name);
|
||||||
return ExtractAction.Continue;
|
}
|
||||||
|
else if (null != msg)
|
||||||
|
{
|
||||||
|
Console.WriteLine (msg);
|
||||||
|
}
|
||||||
|
return ArchiveOperation.Continue;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user