What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

[PB] pass int as Itemid

lexase

New Member
Joined
Feb 8, 2011
Messages
68
Reaction score
0
Hello,

i can pass an Int as Itemid on Inbagcount, but not on Whitdraw item from bank, is it normal ?
like the amount on same method i can see
Code:
[TypeConverter(typeof(DynamicProperty<int>.DynamivExpressionConverter))]
how can i set this to Itemid in GetItemFromBankAction.cs i will not need to put a string on the future to have Item1,Item2,Item3
 
Last edited:
Care to clarify? You can set an ItemID List with Withdraw from Guild Bank?
 
Hello,

i can pass an Int as Itemid on Inbagcount, but not on Whitdraw item from bank, is it normal ?

This is normal
Why?:
u can add a string there like this one "23424,23427,2776" to get more than one itemid at a time, it is internally converted to uint.
I see no problem to write "23424" instead of 23424, it should basically the same, the quotationsmarks shouldn't be that hard to add.
you could change this manually for yourself, but on the next update this change is gone and u have to change it again.

If u wanna change this u have to rewrite
- the public property ItemID
- GetItemfromBankAction
- Dictionary BuildItemList
- u need a method to save the int-value(s) to xml (biggest issue in my opinion, the other changes would take only a few minutes)
 
I want to use a variable, like an array, to pass array[0] an string in withdraw method but pb dont compile it, see?
 
Back
Top