<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ATomeGetSigilDisplayInfo</id>
	<title>API:TomeGetSigilDisplayInfo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3ATomeGetSigilDisplayInfo"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:TomeGetSigilDisplayInfo&amp;action=history"/>
	<updated>2026-10-17T08:19:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:TomeGetSigilDisplayInfo&amp;diff=30817&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:TomeGetSigilDisplayInfo&amp;diff=30817&amp;oldid=prev"/>
		<updated>2026-10-16T19:50:37Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=Tome}}&lt;br /&gt;
Returns the short name and button image slice of a sigil, as shown on the target unit frame.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
info = TomeGetSigilDisplayInfo(sigilEntryId)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;sigilEntryId : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Sigil entry id. Only the low 16 bits are used.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;info : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – The display data, or nothing if the id is invalid or the player is not in the world.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Type !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;id&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Sigil entry id.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Short name of the sigil; empty if the name table is not loaded.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;sliceName&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; || Name of a texture slice. The stock UI uses it, and the same name with &amp;lt;code&amp;gt;&amp;quot;-rollover&amp;quot;&amp;lt;/code&amp;gt; added, as slices of the &amp;lt;code&amp;gt;EA_HUD_01&amp;lt;/code&amp;gt; texture.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* Exactly one argument must be passed.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
These are written to the UI log, and the function returns nothing.&lt;br /&gt;
* &amp;lt;code&amp;gt;Error in function call &amp;#039;TomeGetSigilDisplayInfo&amp;#039;: %d is not a valid entry id.&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;default/eatemplate_unitframes/source/targetunitframe.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
HostileUnitSigilDisplayInfo = TomeGetSigilDisplayInfo( sigilEntryId )&lt;br /&gt;
&lt;br /&gt;
local buttonName = self:GetName()..&amp;quot;SigilButton&amp;quot;&lt;br /&gt;
local normalSlice = HostileUnitSigilDisplayInfo.sliceName&lt;br /&gt;
local rolloverSlice = HostileUnitSigilDisplayInfo.sliceName..&amp;quot;-rollover&amp;quot;&lt;br /&gt;
&lt;br /&gt;
ButtonSetTextureSlice(buttonName, Button.ButtonState.NORMAL, &amp;quot;EA_HUD_01&amp;quot;, normalSlice);&lt;br /&gt;
ButtonSetTextureSlice(buttonName, Button.ButtonState.HIGHLIGHTED, &amp;quot;EA_HUD_01&amp;quot;, rolloverSlice);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:TomeGetSigilEntry|TomeGetSigilEntry]]&lt;br /&gt;
* [[API:TomeGetSigilTOC|TomeGetSigilTOC]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>