• Visit Rebornbuddy
  • What is ff14bot.Objects.Pet.LockTimer?

    Discussion in 'Community Developer Forum' started by newb23, Sep 28, 2016.

    1. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      389
      Likes Received:
      15
      Trophy Points:
      18
      http://i.imgur.com/eXzx7ng.png

      Good morning, I was just poking around API today, and ran across this little snippet of code, and was wondering, what is it?

      It looks to be just a timer, but, if that's all it is, why have it declared here, rather than building your own and using that?

      Does it have other functionality built in, such as checking PetAction cooldown, or a prevention for doublecasting, or...what? Heh.

      I see also that there is another for ff14bot.Managers.Actionmanager.LockTimer, is this the same? (Assuming again, possible doublecast/spam prevention?)

      Thanks!
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,157
      Likes Received:
      207
      Trophy Points:
      63
      It is a timer, and it is our own. It's part of the actionmanager/petmanager action cache.
       
    3. newb23

      newb23 Community Developer

      Joined:
      Nov 26, 2014
      Messages:
      389
      Likes Received:
      15
      Trophy Points:
      18
      Thank you for the reply! I was just curious if it like a built in lock to avoid casting petspells for it's duration, and whether or not I could extend it/retract it and it would change the base "delay" or not.

      Thanks!
       

    Share This Page