public override void OnPopulate()
        {
            CEEvent *currentEvent = null;
            VoidPtr  current      = Header->Event;

            while ((System.bfloat *)current < Header->part2)
            {
                currentEvent = (CEEvent *)current;
                CEEventNode temp = new CEEventNode();
                temp.Initialize(this, new DataSource(current, currentEvent->_entrySize));
                current += 0x4 + 0x4 * temp.NumEntries;
            }
            for (int i = 0; i < Part2Entries.Count; i++)
            {
                IndexList.Add(i);
            }
        }
示例#2
0
 public override void OnPopulate()
 {
     CEEvent* currentEvent = null;
     VoidPtr current = Header->Event;
     while (current < Header->part2)
     {
         currentEvent = (CEEvent*)current;
         CEEventNode temp = new CEEventNode();
         temp.Initialize(this, new DataSource(current, currentEvent->_entrySize));
         current += 0x4 + 0x4 * temp.NumEntries;
     }
     for (int i = 0; i < Part2Entries.Count; i++)
         IndexList.Add(i);
 }