Skip to content

Parse CEPGP lua files generated by the World of Warcraft addon Alumian/CEPGP-Retail.

License

Notifications You must be signed in to change notification settings

Andrioden/CEPGP-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Can parse CEPGP lua files generated by the World of Warcraft addon CEPGP.

Install

Usage - Lua parsing

Parse from file path

// Parse
CepgpLuaParser parser = new CepgpLuaParser();
parser.ParseFile("CEPGP.lua");

// Access data
parser.Records[0];
parser.Traffic[0];

Parse from stream

using (FileStream file = new FileStream("CEPGP.lua", FileMode.Open, FileAccess.Read))
{
    // Parse
    CepgpLuaParser parser = new CepgpLuaParser();
    await parser.ParseAsync(file);

    // Access data
    parser.Records[0];
    parser.Traffic[0];
}

Output

Se the tests for full examples with output.

Usage - Standings parsing

Parse from file path

// Parse
CepgpLuaParser parser = new CepgpStandingsParser();
parser.ParseFile("CEPGP.lua");

// Access data
parser.Standings.Roster[0]
parser.Standings.Timestamp

Develop

Run tests

dotnet test .\Parser.Tests\

About

Parse CEPGP lua files generated by the World of Warcraft addon Alumian/CEPGP-Retail.

Topics

Resources

License

Stars

Watchers

Forks