Skip to content

Client Side ItemId Value

Featured Replies

Good day,

Looking how to get an ItemId object from an int value of the item Id, if anyone knows how?

I looked at the UIDATA_ITEM, and doesn't appear to have a native function there, wondering if anyone knows of a function existing.

More Info that may help understand why I'm asking:
 

I'm trying to use native static function string GetItemTextureName(ItemID Id);

But requires type ItemId, and not int. 

So trying to find a way to to convert int value to the corresponding ItemId.


Cheers
YulRun

Figured it out, Answer is:

Built in function: GetItemID(Int id) returns ItemID

Edited by YulRun

For HF chronicles use class'UIDATA_ITEM'.static.GetItemTextureName(GetItemID( X )), where Х is your int. 

Upd: I'm sorry, I didn't read to the end of the thread and there was already an answer. )))

Edited by Rolo

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.