public override void OnRebuild(VoidPtr address, int length, bool force)
        {
            TBGM *header = (TBGM *)address;

            header->_tag  = TBGM.Tag;
            header->_unk0 = unk0;
            header->_unk1 = unk1;
            header->_unk2 = unk2;
            Memory.Move(header->Entries, entries.Address, (uint)entries.Length);
        }
Example #2
0
        public override void OnRebuild(VoidPtr address, int length, bool force)
        {
            TBGM *header = (TBGM *)address;

            header->_tag  = TBGM.Tag;
            header->_unk0 = unk0;
            header->_unk1 = unk1;
            header->_unk2 = unk2;
            for (int i = 0; i * 4 < EntryList.Count; i++)
            {
                header->Entries[i] = GetFloat(i);
            }
        }