Beispiel #1
0
        protected override void ParseFileItem(GenericItem item)
        {
            item.Properties["Zero1"]  = Reader.ReadUInt32();
            item.Properties["Zero2"]  = Reader.ReadUInt32();
            item.Properties["Block1"] = Reader.ReadUInt16();
            item.Properties["Block2"] = Reader.ReadUInt16();
            item.Properties["Block3"] = Reader.ReadUInt16();
            item.Properties["Block4"] = Reader.ReadUInt16();
            item.Properties["Block5"] = Reader.ReadUInt16();
            item.Properties["Block6"] = Reader.ReadUInt16();
            item.Properties["Block7"] = Reader.ReadUInt16();
            item.Properties["Block8"] = Reader.ReadUInt16();
            item.Properties["Block9"] = Reader.ReadUInt16();

            //item.Properties["Zero3"] = Reader.ReadUInt32();

            byte len = Reader.ReadByte();

            item.Properties["Name"] = Helper.ToString(Reader.ReadBytes(len));
        }
Beispiel #2
0
 /// <summary>
 /// Processes the Data stored in the File for one FileItem. This Function is called Count times in a
 /// sequence.
 /// </summary>
 /// <param name="item">The FileItem you have to assigne the current Data to</param>
 protected abstract void ParseFileItem(GenericItem item);