Jake-Rich/maplelib2

Intent unknown.

Opened this issue · 2 comments

Comments should be added to WzDirectory.cs. For example, what does the 
following lines of code do? I have been trying for 5 hours to work out what 
this does, but to no avail.

                if (type == 1) //01 XX 00 00 00 00 00 OFFSET (4 bytes) 
                {
                    int unknown = reader.ReadInt32();
                    reader.ReadInt16();
                    uint offs = reader.ReadOffset();
                    continue;
                }

Original issue reported on code.google.com by email.ga...@gmail.com on 19 Oct 2011 at 6:25

File (online) can be found at 
http://code.google.com/p/maplelib2/source/browse/trunk/WzLib/WzDirectory.cs

Original comment by email.ga...@gmail.com on 19 Oct 2011 at 6:25

Apparently its some sort of garbage data which is useless when we're parsing 
it, but its there anyway so we have to skip over it.

Original comment by retep998 on 25 Oct 2011 at 5:08