mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-21 07:17:45 +01:00
style-coppin
This commit is contained in:
parent
7a967d5968
commit
658c3fa169
1 changed files with 10 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
|
|
@ -342,6 +342,15 @@ namespace Dalamud.Interface.Internal.Windows.StyleEditor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static string GetRandomName()
|
||||||
|
{
|
||||||
|
var data = Service<DataManager>.Get();
|
||||||
|
var names = data.GetExcelSheet<BNpcName>(ClientLanguage.English);
|
||||||
|
var rng = new Random();
|
||||||
|
|
||||||
|
return names.ElementAt(rng.Next(0, names.Count() - 1)).Singular.RawString;
|
||||||
|
}
|
||||||
|
|
||||||
private void SaveStyle()
|
private void SaveStyle()
|
||||||
{
|
{
|
||||||
if (this.currentSel == 0)
|
if (this.currentSel == 0)
|
||||||
|
|
@ -356,14 +365,5 @@ namespace Dalamud.Interface.Internal.Windows.StyleEditor
|
||||||
|
|
||||||
config.Save();
|
config.Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static string GetRandomName()
|
|
||||||
{
|
|
||||||
var data = Service<DataManager>.Get();
|
|
||||||
var names = data.GetExcelSheet<BNpcName>(ClientLanguage.English);
|
|
||||||
var rng = new Random();
|
|
||||||
|
|
||||||
return names.ElementAt(rng.Next(0, names.Count() - 1)).Singular.RawString;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue