public override void OnPopulate() { // initiate the frequency entries corrosponding to the current group. for (int b = 0; b < _count; b++) { ItmFreqEntry *entry = (ItmFreqEntry *)(BaseAddress + (_Offset + (b * 0x10))); DataSource EntrySource = new DataSource(entry, 0x10); new ItmFreqEntryNode().Initialize(this, EntrySource); } }
public override void OnRebuild(VoidPtr address, int length, bool force) { ItmFreqEntry *Header = (ItmFreqEntry *)address; *Header = new ItmFreqEntry(); Header->_action = _action; Header->_frequency = _frequency; Header->_ID = _id; Header->_subaction = _subaction; Header->_subItem = _costumeID; }