mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 06:56:10 +00:00
Découpage HD/VO
This commit is contained in:
parent
ac9a066ff6
commit
b9c985d44e
11 changed files with 2748 additions and 2678 deletions
16
AideDeJeu/AideDeJeu/Models/Monsters/MonsterHD.cs
Normal file
16
AideDeJeu/AideDeJeu/Models/Monsters/MonsterHD.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
16
AideDeJeu/AideDeJeu/Models/Monsters/MonsterVO.cs
Normal file
16
AideDeJeu/AideDeJeu/Models/Monsters/MonsterVO.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
16
AideDeJeu/AideDeJeu/Models/Spells/SpellHD.cs
Normal file
16
AideDeJeu/AideDeJeu/Models/Spells/SpellHD.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
16
AideDeJeu/AideDeJeu/Models/Spells/SpellVO.cs
Normal file
16
AideDeJeu/AideDeJeu/Models/Spells/SpellVO.cs
Normal 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
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -370,6 +370,10 @@ namespace AideDeJeu.ViewModels
|
||||||
public DbSet<Equipment> Equipments { get; set; }
|
public DbSet<Equipment> Equipments { get; set; }
|
||||||
public DbSet<Spell> Spells { get; set; }
|
public DbSet<Spell> Spells { get; set; }
|
||||||
public DbSet<Monster> Monsters { 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)
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,8 @@ namespace AideDeJeuCmd
|
||||||
|
|
||||||
var items = await context.Items.Where(item => (item.Source != null && item.Source.Contains("SRD"))).ToListAsync();
|
var items = await context.Items.Where(item => (item.Source != null && item.Source.Contains("SRD"))).ToListAsync();
|
||||||
var monsters = await context.Monsters.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();
|
var spells = await context.Spells.ToListAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
BIN
Data/database.db
BIN
Data/database.db
Binary file not shown.
1372
Data/monsters_hd.md
1372
Data/monsters_hd.md
File diff suppressed because it is too large
Load diff
1264
Data/monsters_vo.md
1264
Data/monsters_vo.md
File diff suppressed because it is too large
Load diff
1444
Data/spells_hd.md
1444
Data/spells_hd.md
File diff suppressed because it is too large
Load diff
1276
Data/spells_vo.md
1276
Data/spells_vo.md
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue