<?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%3ACharacterSettingsGetAllUiProfiles</id>
	<title>API:CharacterSettingsGetAllUiProfiles - 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%3ACharacterSettingsGetAllUiProfiles"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:CharacterSettingsGetAllUiProfiles&amp;action=history"/>
	<updated>2026-10-17T15:22:06Z</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:CharacterSettingsGetAllUiProfiles&amp;diff=30219&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:CharacterSettingsGetAllUiProfiles&amp;diff=30219&amp;oldid=prev"/>
		<updated>2026-10-16T19:41:07Z</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=CharacterSettings}}&lt;br /&gt;
Returns every UI profile found in the user settings folder, for all servers and characters.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
profiles = CharacterSettingsGetAllUiProfiles()&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;
;profiles : &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; – Array of profile tables, indexed from 1.&lt;br /&gt;
&lt;br /&gt;
Each profile 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;server&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Server name of the character that owns the profile.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;character&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Name of the character that owns the profile.&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; || Profile name.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;wstring&amp;lt;/code&amp;gt; || Folder of the profile&amp;#039;s files. The stock UI passes it to [[API:CharacterSettingsImportUiProfile|CharacterSettingsImportUiProfile]].&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;isShared&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || –&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;isOwnedByActiveCharacter&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; || –&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;lastUpdated&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; || Last update time of the profile, with the number fields &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;month&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;day&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hour&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;minute&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The client walks the user settings folder three levels deep: server folders, character folders inside them, and profile folders inside those. Every profile folder becomes one entry.&lt;br /&gt;
* The field names are the same as in the &amp;lt;code&amp;gt;uiProfiles&amp;lt;/code&amp;gt; list of [[API:CharacterSettingsGetData|CharacterSettingsGetData]].&lt;br /&gt;
* The folders are read 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;ea_uiprofileswindow/source/introdialoguiprofilewindow.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
-- Only show the intro dialog when there is more than just our current UI profile.&lt;br /&gt;
local availProfiles = CharacterSettingsGetAllUiProfiles()&lt;br /&gt;
if( availProfiles[2] == nil )&lt;br /&gt;
then&lt;br /&gt;
    return&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:CharacterSettingsGetData|CharacterSettingsGetData]]&lt;br /&gt;
* [[API:CharacterSettingsImportUiProfile|CharacterSettingsImportUiProfile]]&lt;br /&gt;
* [[API:CharacterSettingsExportUiProfile|CharacterSettingsExportUiProfile]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>