<?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%3APregameGetQuickStartLabels</id>
	<title>API:PregameGetQuickStartLabels - 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%3APregameGetQuickStartLabels"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:PregameGetQuickStartLabels&amp;action=history"/>
	<updated>2026-10-17T16:47:35Z</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:PregameGetQuickStartLabels&amp;diff=30639&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:PregameGetQuickStartLabels&amp;diff=30639&amp;oldid=prev"/>
		<updated>2026-10-16T19:47:45Z</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=Pregame}}&lt;br /&gt;
Returns the texts the quick start window shows for the character it offers to log in.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
nameLabel, rank, careerLabel, locationLabel = PregameGetQuickStartLabels()&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;
;nameLabel : &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; – The character&amp;#039;s name and surname, joined by one of the client&amp;#039;s built-in text templates.&lt;br /&gt;
;rank : &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt; – The character&amp;#039;s rank. A stored rank of 0 is returned as 1.&lt;br /&gt;
;careerLabel : &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; – The character&amp;#039;s career name.&lt;br /&gt;
;locationLabel : &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; – The character&amp;#039;s location, put into one of the client&amp;#039;s built-in text templates.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The function only returns values in the pregame state, when the character select screen and its quick start character data exist. Otherwise it returns nothing.&lt;br /&gt;
* The stock quick start window also reads &amp;lt;code&amp;gt;rank&amp;lt;/code&amp;gt; on its own, to warn trial accounts about characters above the trial level cap.&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;interfacecore/source/quickstartwindow.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
local nameLabel, rank, careerLabel, locationLabel = PregameGetQuickStartLabels( )&lt;br /&gt;
LabelSetText(&amp;quot;QuickStartWindowNameLabel&amp;quot;, nameLabel)&lt;br /&gt;
local rankAndCareerLineText = GetPregameStringFormat( StringTables.Pregame.TEXT_QUICK_START_LINE_TWO, { rank, careerLabel} )&lt;br /&gt;
LabelSetText(&amp;quot;QuickStartWindowRankLabel&amp;quot;, rankAndCareerLineText)&lt;br /&gt;
LabelSetText(&amp;quot;QuickStartWindowLocationLabel&amp;quot;, locationLabel)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:GetAccountData|GetAccountData]]&lt;br /&gt;
* [[API:GetServerList|GetServerList]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>