Пример #1
0
        static void Postfix(SetItem __instance, int itemId, int itemSize, int desIndex, int changeTyp, int itemMoney, Image dragDes, bool canSell, bool needFavor)
        {
            if (!Main.enabled || !Main.settings.showInBookChange)
            {
                return;
            }
            Changer changer = new Changer();

            changer.changeItemName(__instance.itemNumber, itemId);
        }
Пример #2
0
        static void Postfix(SetItem __instance, int actorId, int itemId, bool cantTake, Image itemDragDes = null, int itemDragTyp = -1)
        {
            if (!Main.enabled || !Main.settings.showInBank)
            {
                return;
            }
            Changer changer = new Changer();

            changer.changeItemName(__instance.itemNumber, itemId);
        }
Пример #3
0
        static void Postfix(SetItem __instance, int itemId)
        {
            if (!Main.enabled || !Main.settings.showInEquuipBag)
            {
                return;
            }
            Changer changer = new Changer();

            changer.changeItemName(__instance.itemNumber, itemId);
        }
Пример #4
0
        static void Postfix(SetItem __instance, int actorId, int itemId, int actorFavor, int injuryTyp)
        {
            if (!Main.enabled || !Main.settings.showInBag)
            {
                return;
            }
            Changer changer = new Changer();

            changer.changeItemName(__instance.itemNumber, itemId);
        }
Пример #5
0
        static void Postfix(MakeSystem __instance, int id, GameObject item, Transform holder, Image dragDes, bool showSize)
        {
            if (!Main.enabled || !Main.settings.showInMake)
            {
                return;
            }
            Changer changer    = new Changer();
            Text    numberText = holder.transform.Find("Item," + id).Find("ItemNumberText").GetComponent <Text>();

            changer.changeItemName(numberText, id);
        }
Пример #6
0
        static void Postfix(GetItemWindow __instance, int index, int itemId, int getTyp, int getSize)
        {
            if (!Main.enabled || !Main.settings.showInOthers)
            {
                return;
            }

            Changer changer = new Changer();

            changer.changeItemName(__instance.itemHpText[index], itemId);
        }