예제 #1
0
 static void LoadData()
 {
     Functions = CsvData.Get <FunctionDto>(Folders.InCoreData("DnD - Functions.csv"), false);
     foreach (FunctionDto functionDto in Functions)
     {
         functionDto.ProcessArguments();
     }
 }
예제 #2
0
 static void LoadData()
 {
     Procs = CsvData.Get <ProcDto>(Folders.InCoreData("DnD - Procs.csv"), false);
     foreach (ProcDto procDto in Procs)
     {
         procDto.ProcessArguments();
     }
 }
예제 #3
0
        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));
            }
        }
예제 #4
0
        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));
            }
        }
예제 #5
0
        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));
            }
        }
예제 #6
0
        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));
            }
        }
예제 #7
0
 public static List <PlayerActionShortcutDto> LoadData(string dataFile)
 {
     return(CsvData.Get <PlayerActionShortcutDto>(dataFile));
 }
예제 #8
0
 public static List <T> LoadTable <T>(string tableName)
 {
     return(CsvData.Get <T>(Folders.InCoreData($"DnD Table - {tableName}.csv")));
 }
예제 #9
0
 public static List <CharacterDto> LoadData(string dataFile)
 {
     return(CsvData.Get <CharacterDto>(dataFile));
 }
예제 #10
0
 static void LoadData()
 {
     Spells = CsvData.Get <SpellDto>(Folders.InCoreData("DnD - Spells.csv"));
 }
예제 #11
0
 static void LoadData()
 {
     Properties = CsvData.Get <PropertyDto>(Folders.InCoreData("DnD - Properties.csv"));
 }
예제 #12
0
 public static List <WeaponDto> LoadData(string dataFile)
 {
     return(CsvData.Get <WeaponDto>(dataFile));
 }
예제 #13
0
 public static void LoadData()
 {
     LoadData(CsvData.Get <FeatureDto>(Folders.InCoreData("DnD - Features.csv")));
 }