public void TestReadPaths()
    {
        var pathData = TestData.GetPath("worldmap_ui_paths.bin");

        using var reader = new BinaryReader(new FileStream(pathData, FileMode.Open));

        var paths = WorldMapPathReader.Read(reader);

        Console.WriteLine();
    }
Esempio n. 2
0
    static void Main(string[] args)
    {
        Directory.CreateDirectory("paths");

        var path = args[0];

        using var binaryReader = new BinaryReader(new FileStream(path, FileMode.Open));

        var paths = WorldMapPathReader.Read(binaryReader);

        DumpPathsToImage(paths);
    }