Guild Wars Template Parser library for .NET

You will require .NET 3.5 to use the library.

Usage:

It is very easy to use. Firstly add the assembly reference into your project. Next create a new instance of the parser you require. Then call the CreateTemplateCode or ParseTemplateCode methods as required.

// Create an instance of the parser
SkillBuildParser parser = new SkillBuildParser();

// Now call the desired methods for parsing the template code
Build skillsBuild = parser.ParseTemplateCode("OwAT043A5JjsR0I3tp/m2mITAA");

// Now you can use the Build object to read the skills from
foreach(var attributeId in skillsBuild.AttributeIdValuePair)
{
Console.WriteLine(string.Format("AttributeId: {0}, Value: {1}", attributeId.Key, attributeId.Value));
}

foreach(var skillId in skillsBuild.SkillIds)
{
Console.WriteLine(string.Format("SkillId: {0}", skillId));
}

The Files:

Leave a Reply