1
0
Fork 0
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:
Yan Maniez 2018-05-14 22:55:45 +02:00
parent 01e7cbe145
commit e75aba6a34

View file

@ -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]