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

Correctif

This commit is contained in:
Yan Maniez 2019-05-23 14:07:20 +02:00
parent b051aa6d15
commit 64bd6411f7
4 changed files with 8 additions and 8 deletions

View file

@ -226,7 +226,7 @@ namespace AideDeJeuLib
{ "PersonalityDefectItem", typeof(PersonalityDefectItem) },
{ "BackgroundSpecialtyItem", typeof(BackgroundSpecialtyItem) },
{ "BackgroundItem", typeof(BackgroundItem) },
{ "SkillItem", typeof(SkillItem) },
{ "FeatureItem", typeof(FeatureItem) },
{ "ClassEquipmentItem", typeof(ClassEquipmentItem) },
{ "ClassEvolutionItem", typeof(ClassEvolutionItem) },
{ "ClassFeatureItem", typeof(ClassFeatureItem) },

View file

@ -103,8 +103,8 @@ namespace AideDeJeu.ViewModels.PlayerCharacter
SetProperty(ref _BackgroundSpecialty, value);
}
}
private SkillItem _BackgroundSkill = null;
public SkillItem BackgroundSkill
private FeatureItem _BackgroundSkill = null;
public FeatureItem BackgroundSkill
{
get
{
@ -116,8 +116,8 @@ namespace AideDeJeu.ViewModels.PlayerCharacter
OnPropertyChanged(nameof(BackgroundOrSubBackgroundSkill));
}
}
private SkillItem _SubBackgroundSkill = null;
public SkillItem SubBackgroundSkill
private FeatureItem _SubBackgroundSkill = null;
public FeatureItem SubBackgroundSkill
{
get
{
@ -129,7 +129,7 @@ namespace AideDeJeu.ViewModels.PlayerCharacter
OnPropertyChanged(nameof(BackgroundOrSubBackgroundSkill));
}
}
public SkillItem BackgroundOrSubBackgroundSkill
public FeatureItem BackgroundOrSubBackgroundSkill
{
get
{

View file

@ -763,7 +763,7 @@ namespace AideDeJeu.ViewModels.PlayerCharacter
}
}
public async Task<SkillItem> LoadSkillAsync(BackgroundItem background)
public async Task<FeatureItem> LoadSkillAsync(BackgroundItem background)
{
if (background != null)
{

View file

@ -728,7 +728,7 @@ namespace AideDeJeu.ViewModels
modelBuilder.Entity<PersonalityDefectItem>();
modelBuilder.Entity<BackgroundSpecialtyItem>();
modelBuilder.Entity<BackgroundItem>();
modelBuilder.Entity<SkillItem>();
modelBuilder.Entity<FeatureItem>();
modelBuilder.Entity<ClassEquipmentItem>();
modelBuilder.Entity<ClassEvolutionItem>();
modelBuilder.Entity<ClassFeatureItem>();