Tools for Punishing: Gray Raven.
- ConfigReader: Reads a pgr xml config file.
- ConfigParser: Parses values of a particular config key.
- PlayerKeyMapping
- CustomUI
You can found every tool method on the ToolBox
class.
using System.Collections.Generic;
using PgrTools;
IDictionnary<string, string> dict = ToolBox.ReadXmlConfig("Pgr-Config-File-Path.xml");
You could also instantiate the classes tools if you would want to modify their default dependencies. You can found every class tool on the PgrTools.Tools
namespace.
using System.Collections.Generic;
using PgrTools.Tools;
ConfigReader configReader = new(HexToString);
IDictionnary<string, string> dict = configReader.ReadXmlConfig("Pgr-Config-File-Path.xml");
private string HexToString(string value)
{
// logic here...
}