<?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%3AGetGuildSignupData</id>
	<title>API:GetGuildSignupData - 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%3AGetGuildSignupData"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:GetGuildSignupData&amp;action=history"/>
	<updated>2026-10-17T13:43:45Z</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:GetGuildSignupData&amp;diff=30398&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:GetGuildSignupData&amp;diff=30398&amp;oldid=prev"/>
		<updated>2026-10-16T19:43:55Z</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=Guild}}&lt;br /&gt;
Returns the guild members signed up to a guild calendar appointment.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
signups = GetGuildSignupData(appointmentID)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;appointmentID : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – Appointment id, as in the &amp;lt;code&amp;gt;appointmentID&amp;lt;/code&amp;gt; field of [[API:GetGuildAppointmentData|GetGuildAppointmentData]].&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;signups : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – Array of sign-up tables, indexed from 1. Empty if the appointment is not found.&lt;br /&gt;
&lt;br /&gt;
Each sign-up table has these fields:&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;memberID&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Character id of the member.&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; || Name of the member, taken from the guild roster.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;accepted&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Sign-up status value.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* Only appointments of the player&amp;#039;s own guild are searched.&lt;br /&gt;
* Sign-ups whose member is not found in the guild roster are left out.&lt;br /&gt;
* The stock UI also copies a &amp;lt;code&amp;gt;rank&amp;lt;/code&amp;gt; field from each entry; the client does not set it, so it is always &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The argument check reports errors under the name &amp;lt;code&amp;gt;SendGuildAppointmentData&amp;lt;/code&amp;gt;: if the argument is missing or not a number, the &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message names that function.&lt;br /&gt;
* If there is no player object, or the Lua state is not available, the function returns nothing.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None besides the generic &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message (see Details).&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;default/ea_guildwindow/source/guildwindowtabcalendar.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local signupData = GetGuildSignupData(GuildWindowTabCalendar.appointmentListData[GuildWindowTabCalendar.SelectedAppointmentIndex].appointmentID)&lt;br /&gt;
...&lt;br /&gt;
for key, value in ipairs( signupData ) do&lt;br /&gt;
    GuildWindowTabCalendar.signupListData[key] = {}&lt;br /&gt;
    GuildWindowTabCalendar.signupListData[key].name = value.name&lt;br /&gt;
    GuildWindowTabCalendar.signupListData[key].rank = value.rank&lt;br /&gt;
    GuildWindowTabCalendar.signupListData[key].accepted = value.accepted&lt;br /&gt;
    GuildWindowTabCalendar.signupListData[key].memberID = value.memberID&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:GetGuildAppointmentData|GetGuildAppointmentData]]&lt;br /&gt;
* [[API:SendGuildAppointmentData|SendGuildAppointmentData]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>