Example #1
0
        public void ReadFromXML(string file)
        {
            XElement           Root             = XElement.Load(file);
            FlashInputMapTable TableInformation = ReflectionHelpers.ConvertToPropertyFromXML <FlashInputMapTable>(Root);

            this.FlashInputMap = TableInformation.FlashInputMap;
        }
Example #2
0
        public void ReadFromFile(BinaryReader reader)
        {
            uint GuiInputMapPtr    = reader.ReadUInt32();
            uint FlashInputMapPtr  = reader.ReadUInt32();
            uint GuiFontMapPtr     = reader.ReadUInt32();
            uint GuiSoundMapPtr    = reader.ReadUInt32();
            uint GuiLanguageMapPtr = reader.ReadUInt32();

            uint GuiInputMapValue = reader.ReadUInt32();

            GuiInputMap = new GuiInputMapTable();
            GuiInputMap.ReadFromFile(reader);

            uint FlashInputMapValue = reader.ReadUInt32();

            FlashInputMap = new FlashInputMapTable();
            FlashInputMap.ReadFromFile(reader);

            uint GuiFontMapValue = reader.ReadUInt32();

            GuiFontMap = new GuiFontMapTable();
            GuiFontMap.ReadFromFile(reader);

            uint GuiSoundMapValue = reader.ReadUInt32();

            GuiSoundMap = new GuiSoundMapTable();
            GuiSoundMap.ReadFromFile(reader);

            uint GuiLanguageMapValue = reader.ReadUInt32();

            GuiLanguageMap = new GuiLanguageMapTable();
            GuiLanguageMap.ReadFromFile(reader);
        }