Hello,
So I’m working on an importer for a map file. But the deserializer reads the data wrong.
Let me give an example.
For the header in the map file, it has some data then states a name that declares it’s a valid file, such as:
[Some data] MAPFILE [More data]. Instead, I have to do file.ReadLine().Contains to make sure it contains it which I don’t think it’s an approach I’d like, especially since I need to do a lot more reading with Strings, such as texture images and entity data, and when I do ReadString, it treats all data as a String.
All I’m asking is how would I approach this and fix this, as it’s causing my a big headache and pushing back development.
Thanks,
Kest