public static int GetPowerSnoId(this UXIcon icon)
        {
            //return icon.Read<int>(0x166C); // <= patch 2.5.x

            return(icon.Read <int>(0x1670)); // <= patch 2.6.x

            ////dirty trick to find offset
            //int offseti = 5744;
            //while(134872 != icon.Read<int>(offset)) //archon sno id
            //{
            //    offset++;
            //}

            //return offset;
        }
Example #2
0
 public static int GetPowerSnoId(this UXIcon icon)
 {
     return(icon.Read <int>(0x166C));
 }