mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 15:06:06 +00:00
Pointage sur les images stockées sur github ;)
This commit is contained in:
parent
01e7cbe145
commit
e75aba6a34
1 changed files with 16 additions and 1 deletions
|
|
@ -36,7 +36,22 @@ namespace AideDeJeuLib.Monsters
|
||||||
public string Languages { get; set; }
|
public string Languages { get; set; }
|
||||||
public string Challenge { get; set; }
|
public string Challenge { get; set; }
|
||||||
public string Description { get; set; }
|
public string Description { get; set; }
|
||||||
public string Picture { get; set; }
|
private string _Picture = null;
|
||||||
|
public string Picture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if(_Picture != null)
|
||||||
|
{
|
||||||
|
return "https://raw.githubusercontent.com/Nioux/AideDeJeu/master/Data/Monsters" + _Picture.Substring(_Picture.LastIndexOf('/'));
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_Picture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
[IgnoreDataMember]
|
[IgnoreDataMember]
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue