Jump to content


Photo

Different auto cancel times for certain trades


  • Please log in to reply
No replies to this topic

#1 Simple

Simple

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 04 October 2018 - 04:08 PM

Hello,

currently I've set the trade offer cancel time to 90 sec when creating an instance of the steam-tradeoffer-manager. But there are some cases where I need to change the cancel time to a different one on certain trade offers. Is there a way to override the 90 sec cancel time on certain trade offers?

EDIT: Nvm, figured it out when I took a better look at the documentation. If anyone is struggling with this too,  you can modify the cancelTime of any offer by using offer.data('cancelTime', some value)


Edited by Simple, 05 October 2018 - 09:17 AM.

  • Dr. McKay likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users