Пример #1
0
            static bool Prefix(ref ModuleItemHolder __instance)
            {
                BuffController buff = BuffController.MakeNewIfNone(__instance.block.tank);

                buff.RemoveItemHolder(__instance);
                return(true);
            }
Пример #2
0
        public void RemoveItemHolder(ModuleItemHolder item)
        {
            this.allSegments["ItemHoldCap"].ManipulateObj(new List <object> {
                item
            }, "CLEAN");

            this.itemHoldListGeneric.Remove(item);
        }
Пример #3
0
        public void AddItemHolder(ModuleItemHolder item)
        {
            this.itemHoldListGeneric.Add(item);

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