コード例 #1
0
 public void Add(NgbhSlot item)
 {
     list.Add(item);
     if (parent != null)
     {
         parent.Changed = true;
     }
 }
コード例 #2
0
 public void Remove(NgbhSlot item)
 {
     list.Remove(item);
     if (parent != null)
     {
         parent.Changed = true;
     }
 }
コード例 #3
0
        public NgbhSlot AddNew(uint inst)
        {
            NgbhSlot s = new NgbhSlot(parent, type);

            s.SlotID = inst;

            Add(s);

            return(s);
        }
コード例 #4
0
 public bool Contains(NgbhSlot item)
 {
     return(list.Contains(item));
 }