View Single Post
02/01/15, 09:52 PM   #10
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
I really wonder why ZOS in source code uses tostring instead of Id64ToString.

PTS v1.6.0, EsoUI\Libraries\Globals\globalapi.lua, lines 223-227:
Lua Code:
  1. -- id64s are stored as lua Number type, and sometimes generate the same hash key for very similar numbers.
  2. -- Use this function to get unique hash key for a given id64.
  3. function zo_getSafeId64Key(id)
  4.     return tostring(id)
  5. end
  Reply With Quote