mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 06:13:40 +01:00
fix all warnings and breaking changes for CS (#2061)
This commit is contained in:
parent
b570564258
commit
30d56e4d11
10 changed files with 24 additions and 14 deletions
|
|
@ -40,7 +40,7 @@ public static class StringExtensions
|
|||
public static bool IsValidCharacterName(this string value, bool includeLegacy = true)
|
||||
{
|
||||
if (string.IsNullOrEmpty(value)) return false;
|
||||
if (!FFXIVClientStructs.FFXIV.Client.UI.UIModule.IsPlayerCharacterName(value)) return false;
|
||||
if (!FFXIVClientStructs.FFXIV.Client.UI.UIGlobals.IsValidPlayerCharacterName(value)) return false;
|
||||
return includeLegacy || value.Length <= 21;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue