Beispiel #1
0
    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();

        if (GUILayout.Button("SyncData"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestSyncData();
            }
        }
        if (GUILayout.Button("Sell"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestSell();
            }
        }
        if (GUILayout.Button("Decompose"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestDecompose();
            }
        }
        if (GUILayout.Button("Use"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestUse();
            }
        }
        if (GUILayout.Button("EquipWear"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipWear();
            }
        }
        if (GUILayout.Button("EquipUndress"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipUndress();
            }
        }
        if (GUILayout.Button("EquipEnhance"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipEnhance();
            }
        }
        if (GUILayout.Button("EquipPolished"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipPolished();
            }
        }
        if (GUILayout.Button("EquipPolishedReplace"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipPolishedReplace();
            }
        }
        if (GUILayout.Button("BagTidy"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagTidy();
            }
        }
        if (GUILayout.Button("BagRecycleSell"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagRecycleSell();
            }
        }
        if (GUILayout.Button("BagRecycleBuy"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagRecycleBuy();
            }
        }
        if (GUILayout.Button("UnlockGrid"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestUnlockGrid();
            }
        }
        if (GUILayout.Button("Split"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestSplit();
            }
        }
        if (GUILayout.Button("EquipBaseAttrPlished"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipBaseAttrPlished();
            }
        }
        if (GUILayout.Button("EquipBaseAttrPolishedReplace"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipBaseAttrPolishedReplace();
            }
        }
        if (GUILayout.Button("EquipExAttrModify"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipExAttrModify();
            }
        }
        if (GUILayout.Button("EquipInlayGem"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipInlayGem();
            }
        }
        if (GUILayout.Button("EquipGemSlotUnlock"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipGemSlotUnlock();
            }
        }
        if (GUILayout.Button("EquipEnhanceSwap"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipEnhanceSwap();
            }
        }
        if (GUILayout.Button("EquipGemRemove"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestEquipGemRemove();
            }
        }
        if (GUILayout.Button("BagPutInStorage"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagPutInStorage();
            }
        }
        if (GUILayout.Button("BagFetchFromStorage"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagFetchFromStorage();
            }
        }
        if (GUILayout.Button("BagStorageSaveMoney"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagStorageSaveMoney();
            }
        }
        if (GUILayout.Button("BagStorageDrawMoney"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagStorageDrawMoney();
            }
        }
        if (GUILayout.Button("StorageTidy"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestStorageTidy();
            }
        }
        if (GUILayout.Button("TalismanLvup"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestTalismanLvup();
            }
        }
        if (GUILayout.Button("TalismanInherit"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestTalismanInherit();
            }
        }
        if (GUILayout.Button("BagSetAutoPickup"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestBagSetAutoPickup();
            }
        }
        if (GUILayout.Button("TalismanRefindStar"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestTalismanRefindStar();
            }
        }
        if (GUILayout.Button("TalismanUpSlotSkillLevel"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestTalismanUpSlotSkillLevel();
            }
        }
        if (GUILayout.Button("TalismanGatherSprite"))
        {
            BagTestHelper rpc = target as BagTestHelper;
            if (rpc)
            {
                rpc.TestTalismanGatherSprite();
            }
        }
    }