public void FileRead(MpqFileStream stream, long offset) { stream.Position = offset + 0; Field0 = new InterpolationPathHeader(); Field0.FileRead(stream, stream.Position); stream.Position = offset + 32; serNodes = new SerializeData(); serNodes.FileRead(stream, stream.Position); stream.Position = offset + 28; //still checking variablearrays Nodes = new List<IntNode>(); for(int i = 0; i < (int)(serNodes.Field1 / 12); i++) { stream.Position = serNodes.Field0 + 16 + (12*i) ; IntNode temp12_Nodes; temp12_Nodes = new IntNode(); temp12_Nodes.FileRead(stream, stream.Position); _Nodes.Add(temp12_Nodes); } }