• Visit Rebornbuddy
  • Item.EquipSlotCategory value question

    Discussion in 'Community Developer Forum' started by mistahmikey, Jan 21, 2016.

    1. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      What is the meaning of this value? Might it correspond to the values defined for the ff14bot.Enums.EquipmentSlot enum? If not, are there come constants defined for it that I can reference?
       
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,575
      Likes Received:
      240
      Trophy Points:
      63
      Look at Item.EquipmentSlots for the information your looking for.
       
    3. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      I see that it must be an index into CanTake or AlsoUses that return an array of EquipmentSlot. I assume CanTake means the item can be put into the returned equipment slots. I do not know what AlsoUses is providing. Mind explaining it for me?
       
    4. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,575
      Likes Received:
      240
      Trophy Points:
      63
      CanTake is the slot that it can go in to. AlsoUses is populated by the extra slots some items take up like http://xivdb.com/item/3262/Herklaedi for this item cantake will be Body and AlsoUses would be hands legs and feet
       
    5. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      Just to be clear, CanTake returns and array, so I assume this is for cases where an item can go into more than one slot (like a ring)? Also, I assume it does not take into account if there is something already in the slot (i.e, it is a static property of the item).

      Thanks for the quick response.
       
    6. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,575
      Likes Received:
      240
      Trophy Points:
      63
      Yep rings are the only thing for now, but there is code for weapons that could go in either slot but nothing uses that yet. And it is static.
       
    7. mistahmikey

      mistahmikey New Member

      Joined:
      Jun 29, 2015
      Messages:
      161
      Likes Received:
      3
      Trophy Points:
      0
      Figured it out, no help needed.
       
      Last edited: Jan 22, 2016

    Share This Page