Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 944 Bytes

File metadata and controls

38 lines (27 loc) · 944 Bytes

W3G.NET

A replay parser tool for Warcraft III.

The tool is based on w3gjs and w3lib

NuGet downloads NuGet version

Usage

Example 1

using W3GNET;

var w3replay = new W3GReplay();
using (var stream = new FileStream("C:\\path\\to\\replay.w3g", FileMode.Open))
{
    await w3replay.Parse(stream);
}

Example 2

using W3GNET;

byte[] replayData;
var w3replay = new W3GReplay();
using (var stream = new MemoryStream(replayData))
{
    await w3replay.Parse(stream);
}

Dependencies

dotnet standard 2.1