Pattern based bank deposit/withdraw/get

Discussion in 'Client & Site Suggestions' started by frazboyz, Apr 24, 2015.

  1. frazboyz

    Joined:
    Nov 15, 2013
    Messages:
    337
    Likes Received:
    54
    Similar to the inventory pattern based get functions. Basically create Bank.withdraw(pattern, amount) etc.
     
  2. Savior

    Savior KKona

    Joined:
    Nov 17, 2014
    Messages:
    2,378
    Likes Received:
    868
    Support, would save lines of code used for filters
     
  3. Cloud

    Cloud The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,319
    Likes Received:
    744
    It's not exactly what you asked for but I'm going ahead and adding Bank.deposit/withdraw(SpriteItem), that way you can use a query with a pattern object in it to get a specific item to interact with. Allowing you to pass a pattern in using a special utility method wouldn't really conform with the rest of the api.
     

Share This Page

Loading...