static bool Prefix(ref ModuleItemStore __instance) { BuffController buff = BuffController.MakeNewIfNone(__instance.block.tank); buff.RemoveItemStore(__instance); return(true); }
public void RemoveItemStore(ModuleItemStore item) { this.allSegments["ItemStoreCap"].ManipulateObj(new List <object> { item }, "CLEAN"); this.itemStoreListGeneric.Remove(item); }
public void AddItemStore(ModuleItemStore item) { this.itemStoreListGeneric.Add(item); this.allSegments["ItemStoreCap"].ManipulateObj(new List <object> { item }, "SAVE"); }