1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 14:35:45 +00:00

Découpage HD/VO

This commit is contained in:
Yan Maniez 2018-10-14 23:01:39 +02:00
parent ac9a066ff6
commit b9c985d44e
11 changed files with 2748 additions and 2678 deletions

View file

@ -0,0 +1,16 @@
using AideDeJeu;
using AideDeJeu.Tools;
using Markdig.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Xml;
namespace AideDeJeuLib
{
public class MonsterHD : Monster
{
}
}

View file

@ -0,0 +1,16 @@
using AideDeJeu;
using AideDeJeu.Tools;
using Markdig.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Xml;
namespace AideDeJeuLib
{
public class MonsterVO : Monster
{
}
}

View file

@ -0,0 +1,16 @@
using AideDeJeu.Tools;
using Markdig.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Serialization;
namespace AideDeJeuLib
{
public class SpellHD : Spell
{
}
}

View file

@ -0,0 +1,16 @@
using AideDeJeu.Tools;
using Markdig.Syntax;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text.RegularExpressions;
using System.Xml;
using System.Xml.Serialization;
namespace AideDeJeuLib
{
public class SpellVO : Spell
{
}
}

View file

@ -370,6 +370,10 @@ namespace AideDeJeu.ViewModels
public DbSet<Equipment> Equipments { get; set; }
public DbSet<Spell> Spells { get; set; }
public DbSet<Monster> Monsters { get; set; }
public DbSet<SpellHD> SpellsHD { get; set; }
public DbSet<MonsterHD> MonstersHD { get; set; }
public DbSet<SpellVO> SpellsVO { get; set; }
public DbSet<MonsterVO> MonstersVO { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{

View file

@ -310,6 +310,8 @@ namespace AideDeJeuCmd
var items = await context.Items.Where(item => (item.Source != null && item.Source.Contains("SRD"))).ToListAsync();
var monsters = await context.Monsters.ToListAsync();
var monstersHD = await context.MonstersHD.ToListAsync();
var monstersVO = await context.MonstersVO.ToListAsync();
var spells = await context.Spells.ToListAsync();
}

Binary file not shown.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff