Example #1
0
        public void AddEntry(int id, BDM_Entry entry)
        {
            for (int i = 0; i < BDM_Entries.Count; i++)
            {
                if (BDM_Entries[i].I_00 == id)
                {
                    BDM_Entries[i] = entry;
                    return;
                }
            }

            BDM_Entries.Add(entry);
        }
Example #2
0
 public int AddEntry(BDM_Entry entry)
 {
     entry.ID = NextID(0);
     BDM_Entries.Add(entry);
     return(entry.ID);
 }