mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-20 01:00:39 +00:00
Renommages SRD
This commit is contained in:
parent
1e30bcacb5
commit
b051aa6d15
27 changed files with 239 additions and 161 deletions
6
AideDeJeu/AideDeJeu/Models/Abilities/SkillItem.cs
Normal file
6
AideDeJeu/AideDeJeu/Models/Abilities/SkillItem.cs
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace AideDeJeuLib
|
||||
{
|
||||
public class SkillItemtoto : Item
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
public class BackgroundItem : Item
|
||||
{
|
||||
public string Skills { get; set; }
|
||||
public string SkillProficiencies { get; set; }
|
||||
public string MasteredTools { get; set; }
|
||||
public string MasteredLanguages { get; set; }
|
||||
public string Equipment { get; set; }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
namespace AideDeJeuLib
|
||||
{
|
||||
public class SkillItem : Item
|
||||
public class FeatureItem : Item
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
@ -769,7 +769,7 @@ namespace AideDeJeu.ViewModels.PlayerCharacter
|
|||
{
|
||||
using (var context = await StoreViewModel.GetLibraryContextAsync())
|
||||
{
|
||||
var list = await context.Skills.Where(it => it.ParentLink == background.Id).ToListAsync().ConfigureAwait(false);
|
||||
var list = await context.Features.Where(it => it.ParentLink == background.Id).ToListAsync().ConfigureAwait(false);
|
||||
var item = list.FirstOrDefault();
|
||||
return item;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ namespace AideDeJeu.ViewModels
|
|||
public DbSet<PersonalityIdealItem> PersonalityIdeals { get; set; }
|
||||
public DbSet<PersonalityLinkItem> PersonalityLinks { get; set; }
|
||||
public DbSet<PersonalityDefectItem> PersonalityDefects { get; set; }
|
||||
public DbSet<SkillItem> Skills { get; set; }
|
||||
public DbSet<FeatureItem> Features { get; set; }
|
||||
public DbSet<BackgroundSpecialtyItem> BackgroundSpecialties { get; set; }
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@
|
|||
<Frame BorderColor="Black" Padding="2" Margin="10" IsVisible="{Binding SelectedPlayerCharacter.Background.BackgroundOrSubBackground, Converter={StaticResource NullToFalseConverter}, FallbackValue=False}">
|
||||
<StackLayout Padding="0">
|
||||
<mdview:MarkdownView Theme="{StaticResource MonsterMarkdownTheme}" HorizontalOptions="FillAndExpand" Markdown="# Compétences" />
|
||||
<mdview:MarkdownView Theme="{StaticResource MonsterMarkdownTheme}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.Background.BackgroundOrSubBackground.Skills}" />
|
||||
<mdview:MarkdownView Theme="{StaticResource MonsterMarkdownTheme}" HorizontalOptions="FillAndExpand" Markdown="{Binding SelectedPlayerCharacter.Background.BackgroundOrSubBackground.SkillProficiencies}" />
|
||||
</StackLayout>
|
||||
</Frame>
|
||||
<Frame BorderColor="Black" Padding="2" Margin="10" IsVisible="{Binding SelectedPlayerCharacter.Background.BackgroundOrSubBackground, Converter={StaticResource NullToFalseConverter}, FallbackValue=False}">
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
<pickers:ItemView BindingContext="{Binding}" Name="#### Armes" Description="{Binding SelectedPlayerCharacter.Class.Proficiencies.Weapons}" />
|
||||
<pickers:ItemView BindingContext="{Binding}" Name="#### Outils" Description="{Binding SelectedPlayerCharacter.Class.Proficiencies.Tools}" />
|
||||
<pickers:ItemView BindingContext="{Binding}" Name="#### Jets de sauvegarde" Description="{Binding SelectedPlayerCharacter.Class.Proficiencies.SavingThrows}" />
|
||||
<pickers:ItemView BindingContext="{Binding}" Name="#### Compétences" Description="{Binding SelectedPlayerCharacter.Class.Proficiencies.Skills}" />
|
||||
<pickers:ItemView BindingContext="{Binding}" Name="#### Compétences" Description="{Binding SelectedPlayerCharacter.Class.Proficiencies.SkillProficiencies}" />
|
||||
|
||||
<pickers:ItemView BindingContext="{Binding}" Name="#### Équipement" Description="{Binding SelectedPlayerCharacter.Class.Equipment.Description}" />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue