Skip to content

ReadInt64 missing #1

@EnemyArea

Description

@EnemyArea

Hello, nice job :D But you need a parser for the int64 nodes too.

namespace SheepReaper.GameSaves.Klei.TypeParsers
{
public class Integer64Parser : IParser
{
public long Parse(IDataReader reader, TypeInfo info, List templates) => reader.ReadInt64();

    object IParser.Parse(IDataReader reader, TypeInfo info, List<Template> templates) => Parse(reader, info, templates);
}

}

In public class DataReader : BufferBinaryReader, IDataReader
....
[SerializationTypeCode.Int64] = new Integer64Parser(),

Some maps have a 64bit value in it. These maps can't be loaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions