Improve account registration intro a little bit

This commit is contained in:
Loporrit
2025-06-25 15:11:24 +00:00
parent cff7f4e090
commit e7e94798bb
4 changed files with 121 additions and 53 deletions

View File

@@ -158,7 +158,7 @@ public class ServerConfigurationManager
Save();
}
internal void AddCurrentCharacterToServer(int serverSelectionIndex = -1)
internal void AddCurrentCharacterToServer(int serverSelectionIndex = -1, bool save = true)
{
if (serverSelectionIndex == -1) serverSelectionIndex = CurrentServerIndex;
var server = GetServerByIndex(serverSelectionIndex);
@@ -172,7 +172,9 @@ public class ServerConfigurationManager
WorldId = _dalamudUtil.GetHomeWorldIdAsync().GetAwaiter().GetResult(),
SecretKeyIdx = server.SecretKeys.Last().Key,
});
Save();
if (save)
Save();
}
internal void AddEmptyCharacterToServer(int serverSelectionIndex)