@@ -396,7 +396,7 @@ public void TryDropItem(int inventorySlotIndex)
396396
397397 var quantity = inventorySlot . Quantity ;
398398 var canDropMultiple = quantity > 1 ;
399- var inputType = canDropMultiple ? InputBox . InputType . NumericSliderInput : InputBox . InputType . YesNo ;
399+ var inputType = canDropMultiple ? InputType . NumericSliderInput : InputType . YesNo ;
400400 var prompt = canDropMultiple ? Strings . Inventory . DropItemPrompt : Strings . Inventory . DropPrompt ;
401401 _ = new InputBox (
402402 title : Strings . Inventory . DropItemTitle ,
@@ -682,7 +682,7 @@ public void TrySellItem(int inventorySlotIndex)
682682 || shop ? . BuyingWhitelist == false && ! shop . BuyingItems . Any ( buyingItem => buyingItem . ItemId == itemDescriptor . Id ) ;
683683
684684 var prompt = Strings . Shop . SellPrompt ;
685- var inputType = InputBox . InputType . YesNo ;
685+ var inputType = InputType . YesNo ;
686686 EventHandler ? onSuccess = ( s , e ) =>
687687 {
688688 if ( s is InputBox inputBox && inputBox . UserData is int invSlot )
@@ -697,7 +697,7 @@ public void TrySellItem(int inventorySlotIndex)
697697 if ( ! shopCanBuyItem )
698698 {
699699 prompt = Strings . Shop . CannotSell ;
700- inputType = InputBox . InputType . OkayOnly ;
700+ inputType = InputType . OkayOnly ;
701701 onSuccess = null ;
702702 userData = - 1 ;
703703 }
@@ -708,7 +708,7 @@ public void TrySellItem(int inventorySlotIndex)
708708 {
709709 maxQuantity = inventoryQuantity ;
710710 prompt = Strings . Shop . SellItemPrompt ;
711- inputType = InputBox . InputType . NumericSliderInput ;
711+ inputType = InputType . NumericSliderInput ;
712712 onSuccess = ( s , e ) =>
713713 {
714714 if ( s is InputBox inputBox && inputBox . UserData is int invSlot )
@@ -771,7 +771,7 @@ public void TryBuyItem(int shopSlotIndex)
771771 _ = new InputBox (
772772 title : Strings . Shop . BuyItem ,
773773 prompt : Strings . Shop . BuyItemPrompt . ToString ( itemDescriptor . Name ) ,
774- inputType : InputBox . InputType . NumericSliderInput ,
774+ inputType : InputType . NumericSliderInput ,
775775 quantity : maxBuyAmount ,
776776 maxQuantity : maxBuyAmount ,
777777 userData : shopSlotIndex ,
@@ -881,7 +881,7 @@ public bool TryDepositItem(
881881 _ = new InputBox (
882882 title : Strings . Bank . DepositItem ,
883883 prompt : Strings . Bank . DepositItemPrompt . ToString ( itemDescriptor . Name ) ,
884- inputType : InputBox . InputType . NumericSliderInput ,
884+ inputType : InputType . NumericSliderInput ,
885885 quantity : movableQuantity ,
886886 maxQuantity : maximumQuantity ,
887887 userData : new Tuple < int , int > ( inventorySlotIndex , bankSlotIndex ) ,
@@ -999,7 +999,7 @@ public bool TryWithdrawItem(
999999 _ = new InputBox (
10001000 title : Strings . Bank . WithdrawItem ,
10011001 prompt : Strings . Bank . WithdrawItemPrompt . ToString ( itemDescriptor . Name ) ,
1002- inputType : InputBox . InputType . NumericSliderInput ,
1002+ inputType : InputType . NumericSliderInput ,
10031003 quantity : movableQuantity ,
10041004 maxQuantity : maximumQuantity ,
10051005 userData : new Tuple < int , int > ( bankSlotIndex , inventorySlotIndex ) ,
@@ -1047,7 +1047,7 @@ public void TryStoreBagItem(int inventorySlotIndex, int bagSlotIndex)
10471047 _ = new InputBox (
10481048 title : Strings . Bags . StoreItem ,
10491049 prompt : Strings . Bags . StoreItemPrompt . ToString ( itemDescriptor . Name ) ,
1050- inputType : InputBox . InputType . NumericSliderInput ,
1050+ inputType : InputType . NumericSliderInput ,
10511051 quantity : quantity ,
10521052 maxQuantity : maxQuantity ,
10531053 userData : new Tuple < int , int > ( inventorySlotIndex , bagSlotIndex ) ,
@@ -1091,7 +1091,7 @@ public void TryRetreiveBagItem(int bagSlotIndex, int inventorySlotIndex)
10911091 _ = new InputBox (
10921092 title : Strings . Bags . RetrieveItem ,
10931093 prompt : Strings . Bags . RetrieveItemPrompt . ToString ( itemDescriptor . Name ) ,
1094- inputType : InputBox . InputType . NumericSliderInput ,
1094+ inputType : InputType . NumericSliderInput ,
10951095 quantity : quantity ,
10961096 maxQuantity : maxQuantity ,
10971097 userData : new Tuple < int , int > ( bagSlotIndex , inventorySlotIndex ) ,
@@ -1130,7 +1130,7 @@ public void TryTradeItem(int index)
11301130 _ = new InputBox (
11311131 title : Strings . Trading . OfferItem ,
11321132 prompt : Strings . Trading . OfferItemPrompt . ToString ( tradingItem . Name ) ,
1133- inputType : InputBox . InputType . NumericSliderInput ,
1133+ inputType : InputType . NumericSliderInput ,
11341134 quantity : quantity ,
11351135 maxQuantity : quantity ,
11361136 userData : index ,
@@ -1167,7 +1167,7 @@ public void TryRevokeItem(int index)
11671167 _ = new InputBox (
11681168 title : Strings . Trading . RevokeItem ,
11691169 prompt : Strings . Trading . RevokeItemPrompt . ToString ( revokedItem . Name ) ,
1170- inputType : InputBox . InputType . NumericSliderInput ,
1170+ inputType : InputType . NumericSliderInput ,
11711171 quantity : quantity ,
11721172 maxQuantity : quantity ,
11731173 userData : index ,
@@ -1200,7 +1200,7 @@ public void TryForgetSpell(int spellIndex)
12001200 _ = new InputBox (
12011201 title : Strings . Spells . ForgetSpell ,
12021202 prompt : Strings . Spells . ForgetSpellPrompt . ToString ( spellDescriptor . Name ) ,
1203- inputType : InputBox . InputType . YesNo ,
1203+ inputType : InputType . YesNo ,
12041204 userData : spellIndex ,
12051205 onSuccess : ( s , e ) =>
12061206 {
0 commit comments