예제 #1
0
            static bool Prefix(ref ModuleItemProducer __instance)
            {
                BuffController buff = BuffController.MakeNewIfNone(__instance.block.tank);

                buff.RemoveItemPro(__instance);
                return(true);
            }
예제 #2
0
        public void RemoveItemPro(ModuleItemProducer item)
        {
            this.allSegments["ItemProSpeed"].ManipulateObj(new List <object> {
                item
            }, "CLEAN");

            this.itemProListGeneric.Remove(item);
        }
예제 #3
0
        public void AddItemPro(ModuleItemProducer item)
        {
            this.itemProListGeneric.Add(item);

            this.allSegments["ItemProSpeed"].ManipulateObj(new List <object> {
                item
            }, "SAVE");
        }