public override void OnRebuild(VoidPtr address, int length, bool force) { TBLV *header = (TBLV *)address; header->_tag = TBLV.Tag; header->_unk0 = unk0; header->_unk1 = unk1; header->_unk2 = unk2; Memory.Move(header->Entries, entries.Address, (uint)entries.Length); }
public override void OnRebuild(VoidPtr address, int length, bool force) { TBLV *header = (TBLV *)address; header->_tag = TBLV.Tag; header->_unk0 = unk0; header->_unk1 = unk1; header->_unk2 = unk2; for (int i = 0; i * 4 < EntryList.Count; i++) { header->Entries[i] = GetFloat(i); } }