Item Attribute

Results 1 to 3 of 3
  1. #1
    Valued Member EricThom is offline
    MemberRank
    Dec 2014 Join Date
    116Posts

    Item Attribute

    Some1 pls explain where the values in the ItemAttribute field defined?


  2. #2
    Member vinleprince is offline
    MemberRank
    Feb 2015 Join Date
    77Posts

    Re: Item Attribute

    it was call "bit flags". can store mutiple value at once.
    example:

    A = 0x1
    B = 0x2
    C = 0x4
    D = 0x8

    you need to store ABC on variable ItemAttr.
    ItemAttr = 1+2+4 (so it was 7)

    when you need to try compare value with c++.
    you can use & for check bit flags, also use | for set mutiple flags

    if(ItemAttr & A)

    ItemAttr = A | B | C

  3. #3
    RoRivals gaby001 is offline
    MemberRank
    Aug 2011 Join Date
    RomaniaLocation
    386Posts

    config Re: Item Attribute

    Ace_Attribute_Viewer .zip here U go enjoy



Advertisement