コード例 #1
0
            static bool Prefix(ref ModuleItemStore __instance)
            {
                BuffController buff = BuffController.MakeNewIfNone(__instance.block.tank);

                buff.RemoveItemStore(__instance);
                return(true);
            }
コード例 #2
0
        public void RemoveItemStore(ModuleItemStore item)
        {
            this.allSegments["ItemStoreCap"].ManipulateObj(new List <object> {
                item
            }, "CLEAN");

            this.itemStoreListGeneric.Remove(item);
        }
コード例 #3
0
        public void AddItemStore(ModuleItemStore item)
        {
            this.itemStoreListGeneric.Add(item);

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