GuildIcon

Version 5 (nimetu, 12/18/2013 02:17 pm)

1 1 vl
h1. GuildIcon
2 1 vl
3 1 vl
h2. Base URL
4 1 vl
5 5 nimetu
* http://api.ryzom.com/guild_icon.php?icon=4505559206513107&size=b
6 1 vl
7 2 vl
h2. URL Parameters
8 1 vl
9 2 vl
h3. @icon@
10 1 vl
11 5 nimetu
It's a raw 64 bits number that contains all information to render a guild icon. It's the number that is in the [[Character]] xml file under @guild->icon@ !http://api.ryzom.com/guild_icon.php?icon=4505559206513107!
12 1 vl
13 1 vl
h3. @size@ (optional)
14 1 vl
15 5 nimetu
* @s@: *(default)* Small guild icon (32x32 pixels)
16 5 nimetu
!http://api.ryzom.com/guild_icon.php?icon=4505559206513107&size=s!
17 5 nimetu
* @b@: Big guild icon (64x64 pixels)
18 5 nimetu
!http://api.ryzom.com/guild_icon.php?icon=4505559206513107&size=b!
19 1 vl
20 2 vl
h2. Cache Duration
21 2 vl
22 2 vl
It's cached for ever. Since the icon is unique and never changes. For a specific icon, it'll always return the same image.
23 2 vl
24 2 vl
h2. PHP Interface
25 2 vl
26 1 vl
h3. @ryzom_guild_icon_url($icon, $size)@
27 2 vl
28 4 kishan
Returns a string that contains the url to display a guild icon.