Beispiel #1
0
 public void UpdateDirEntry(ref SAssemblies.Menu.MenuItemSettings oldMenuItem, SAssemblies.Menu.MenuItemSettings newMenuItem)
 {
     Func<dynamic> save = MenuEntries[oldMenuItem];
     MenuEntries.Remove(oldMenuItem);
     MenuEntries.Add(newMenuItem, save);
     oldMenuItem = newMenuItem;
 }
 public ExpandedWardItem(SAssemblies.Ward.WardItem ward, int stacks, int charges)
     : base(ward.Id, ward.Name, ward.SpellName, ward.Range, ward.Duration, ward.Type)
 {
     Stacks = stacks;
     Charges = charges;
 }
 public ExpandedWardItem(int id, string name, string spellName, int range, int duration, SAssemblies.Ward.WardType type, int stacks, int charges)
     : base(id, name, spellName, range, duration, type)
 {
     Stacks = stacks;
     Charges = charges;
 }