mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-16 12:57:44 +01:00
Apply new configuration scheme to everything
This commit is contained in:
parent
1ab43645f7
commit
dc960c5f6f
6 changed files with 45 additions and 79 deletions
|
|
@ -18,6 +18,14 @@ namespace Dalamud
|
|||
|
||||
public List<string> BadWords { get; set; }
|
||||
|
||||
public class FateInfo {
|
||||
public string Name { get; set; }
|
||||
public int Id { get; set; }
|
||||
}
|
||||
|
||||
public List<FateInfo> Fates;
|
||||
|
||||
|
||||
public static DalamudConfiguration Load(string path) {
|
||||
return JsonConvert.DeserializeObject<DalamudConfiguration>(File.ReadAllText(path));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue