Example #1
0
 public void Detach(CGItem cgItem)
 {
     if (_mplaylist != null && _cgManager != null)
     {
         _cgManager.Detach(cgItem);
     }
 }
Example #2
0
 public void Detach(CGItem item)
 {
     if (_cgItems.ContainsKey(item))
     {
         item.Detach(_mlCharGen, _cgItems[item]);
         _cgItems.Remove(item);
     }
 }
Example #3
0
 public void Attach(CGItem item)
 {
     if (!_cgItems.ContainsKey(item))
     {
         string tag = item.Attach(_mlCharGen);
         _cgItems.Add(item, tag);
     }
 }