<?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%3AGuildRecruitmentProfileGetData</id>
	<title>API:GuildRecruitmentProfileGetData - 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%3AGuildRecruitmentProfileGetData"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:GuildRecruitmentProfileGetData&amp;action=history"/>
	<updated>2026-10-18T06:58:48Z</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:GuildRecruitmentProfileGetData&amp;diff=30496&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:GuildRecruitmentProfileGetData&amp;diff=30496&amp;oldid=prev"/>
		<updated>2026-10-16T19:45:30Z</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 recruitment profile of the player&amp;#039;s guild, as last received from the server.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
profile = GuildRecruitmentProfileGetData()&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
;profile : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – The guild&amp;#039;s recruitment profile.&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; || Guild id. The stock UI builds &amp;lt;code&amp;gt;L&amp;quot;GUILD:&amp;quot;..profile.id&amp;lt;/code&amp;gt; hyperlinks from it.&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; || Guild name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;allianceName&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Name of the guild&amp;#039;s alliance.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;guildLeader&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Name of the guild leader.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Brief description.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;summary&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Public summary.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;playStyle&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Play style, compared with &amp;lt;code&amp;gt;GameData.Recruitment.PlayStyleFlag&amp;lt;/code&amp;gt; values. The client adds 1 to the stored value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;atmosphere&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Atmosphere, compared with &amp;lt;code&amp;gt;GameData.Recruitment.AtmosphereFlag&amp;lt;/code&amp;gt; values. The client adds 1 to the stored value.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;rank&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Guild rank.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;playersTotal&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Number of members.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;playersOnline&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; || Number of members online.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tiersNeeded&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Booleans keyed 1–6, indexed by &amp;lt;code&amp;gt;GameData.Recruitment.TierFlag&amp;lt;/code&amp;gt; values.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;careersNeeded&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Booleans keyed 0–24, indexed by &amp;lt;code&amp;gt;GameData.Recruitment.CareerFlags&amp;lt;/code&amp;gt; values.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;interests&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Booleans keyed 1–7, indexed by &amp;lt;code&amp;gt;GameData.Recruitment.InterestFlag&amp;lt;/code&amp;gt; values.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;recruitingStatus&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Booleans keyed 1–5, indexed by &amp;lt;code&amp;gt;GameData.Recruitment.RecruitingFlag&amp;lt;/code&amp;gt; values.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;recruiters&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Array of recruiter tables, each with &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;desc&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt;).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;keep&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Table with &amp;lt;code&amp;gt;idNum&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;) and &amp;lt;code&amp;gt;zoneNum&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The table is built from the profile the client stores for the player&amp;#039;s own guild. The function does not contact the server. The stock UI refreshes its recruitment tab when &amp;lt;code&amp;gt;SystemData.Events.GUILD_RECRUITMENT_PROFILE_UPDATED&amp;lt;/code&amp;gt; fires.&lt;br /&gt;
* Each key of the flag sub-tables holds &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The stock UI also passes the result to &amp;lt;code&amp;gt;EA_ChatWindow.InsertGuildLink&amp;lt;/code&amp;gt; when the guild link is shift-clicked.&lt;br /&gt;
* A new table is built on every call.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;default/ea_guildwindow/source/guildwindowtabrecruitprofile.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local profileData = GuildRecruitmentProfileGetData()&lt;br /&gt;
...&lt;br /&gt;
local pressed = profileData.recruitingStatus[ statusData.flagId ]&lt;br /&gt;
ButtonSetPressedFlag( windowName..&amp;quot;Button&amp;quot;, pressed )&lt;br /&gt;
...&lt;br /&gt;
TextEditBoxSetText( &amp;quot;GWRecruitProfileDescEditBox&amp;quot;, profileData.desc )&lt;br /&gt;
TextEditBoxSetText( &amp;quot;GWRecruitProfileSummaryEditBox&amp;quot;, profileData.summary )&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:GuildRecruitmentProfileSetData|GuildRecruitmentProfileSetData]]&lt;br /&gt;
* [[API:GuildRecruitmentSearch|GuildRecruitmentSearch]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>