« Previous - Version 3/5 (diff) - Next » - Current version
nimetu, 12/18/2013 02:12 pm


ItemIcon

Base URL

URL Parameters

sheetid

It's the id of an item that you can find in the Character xml file. For example, iczahp_3.sitem is a valid sheetid (

c (optional)

The color of the item. It's a value between 0 and 7

q (optional)

The quality of the item.

s (optional)

Default is 1.

The size of the stack.

sap (optional)

Default is -1.
The number of sap of the item.

-1 No sap icon, no number
0 sap icon, no number
1 sap icon number 0
2 sap icon number 1
3 sap icon number 2

destroyed (optional)

Default is 0.
  • 0: nothing special
  • 1: display the item as if it was destroyed (with a red cross)

Cache Duration

It's cached for ever. Since the icon is unique and never change. For a specific icon, it'll always return the same image.

PHP Interface

ryzom_item_icon_url($sheetid, $c=-1, $q=-1, $s=-1, $sap=-1, $destroyed=false)

Returns a string that contains the url to display a item icon.