static void LoadData() { Functions = CsvData.Get <FunctionDto>(Folders.InCoreData("DnD - Functions.csv"), false); foreach (FunctionDto functionDto in Functions) { functionDto.ProcessArguments(); } }
static void LoadData() { Procs = CsvData.Get <ProcDto>(Folders.InCoreData("DnD - Procs.csv"), false); foreach (ProcDto procDto in Procs) { procDto.ProcessArguments(); } }
static void LoadData() { trailingEffects = new List <TrailingEffect>(); List <TrailingEffectsDto> trailingEffectsDtos = CsvData.Get <TrailingEffectsDto>(Folders.InCoreData("DnD - TrailingEffects.csv"), false); foreach (TrailingEffectsDto trailingEffect in trailingEffectsDtos) { TrailingEffects.Add(TrailingEffect.From(trailingEffect)); } }
static void LoadData() { weaponEffects = new List <ItemEffect>(); List <ItemEffectDto> weaponEffectDtos = CsvData.Get <ItemEffectDto>(Folders.InCoreData("DnD - WeaponEffects.csv"), false); foreach (ItemEffectDto itemEffect in weaponEffectDtos) { WeaponEffects.Add(ItemEffect.From(itemEffect)); } }
static void LoadData() { spellEffects = new List <ItemEffect>(); List <ItemEffectDto> spellEffectDtos = CsvData.Get <ItemEffectDto>(Folders.InCoreData("DnD - SpellEffects.csv"), false); foreach (ItemEffectDto itemEffect in spellEffectDtos) { SpellEffects.Add(ItemEffect.From(itemEffect)); } }
public static void LoadData() { dieRollEffects = new List <DieRollEffect>(); List <DieRollEffectDto> dieRollEffectDtos = CsvData.Get <DieRollEffectDto>(Folders.InCoreData("DnD - DieRollEffects.csv"), false); foreach (DieRollEffectDto dieRollEffect in dieRollEffectDtos) { DieRollEffects.Add(DieRollEffect.From(dieRollEffect)); } }
public static List <PlayerActionShortcutDto> LoadData(string dataFile) { return(CsvData.Get <PlayerActionShortcutDto>(dataFile)); }
public static List <T> LoadTable <T>(string tableName) { return(CsvData.Get <T>(Folders.InCoreData($"DnD Table - {tableName}.csv"))); }
public static List <CharacterDto> LoadData(string dataFile) { return(CsvData.Get <CharacterDto>(dataFile)); }
static void LoadData() { Spells = CsvData.Get <SpellDto>(Folders.InCoreData("DnD - Spells.csv")); }
static void LoadData() { Properties = CsvData.Get <PropertyDto>(Folders.InCoreData("DnD - Properties.csv")); }
public static List <WeaponDto> LoadData(string dataFile) { return(CsvData.Get <WeaponDto>(dataFile)); }
public static void LoadData() { LoadData(CsvData.Get <FeatureDto>(Folders.InCoreData("DnD - Features.csv"))); }