public static IntPtr GetItemRecordPointerFromId(uint id, ulong guid = 0ul) { if (_getItemInfoBlockById == null) { _getItemInfoBlockById = Manager.Memory.RegisterDelegate <GetItemInfoBlockByIdDelegate>( (IntPtr)Pointers.WDB.DdItemCache_GetInfoBlockByID); } return(_getItemInfoBlockById((IntPtr)Pointers.WDB.WdbItemCache, id, ref guid)); }
public static IntPtr GetItemRecordPointerFromId(uint id, ulong guid = 0ul) { if (_getItemInfoBlockById == null) _getItemInfoBlockById = Manager.Memory.RegisterDelegate<GetItemInfoBlockByIdDelegate>((IntPtr)Pointers.WDB.DdItemCache_GetInfoBlockByID); return _getItemInfoBlockById((IntPtr)Pointers.WDB.WdbItemCache, id, ref guid); }