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)

label (optional)

Default is 1
  • 0: hide icon text
  • 1: draw text if sheet has one

locked (optional)

Default is 0.
  • 0: nothing special
  • 1: display the item as if it was locked by the owner

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, $label=true, $locked=false)

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