public async Task <string> LoadAttackImage() { if (Attack != null) { return(Attack.ImageSource); } else if (AttackId.HasValue) { Attack = await AGearRoutes.GetOne(AttackId.Value); return(Attack.ImageSource); } return(ImageSourceAttack); }
public async Task <string> LoadSpecialImage() { if (Special != null) { return(Special.ImageSource); } else if (SpecialId.HasValue) { Special = await AGearRoutes.GetOne(SpecialId.Value); return(Special.ImageSource); } return(ImageSourceSpecial); }
public async Task <string> LoadRing2Image() { if (Ring2 != null) { return(Ring2.ImageSource); } else if (Ring2Id.HasValue) { Ring2 = await AGearRoutes.GetOne(Ring2Id.Value); return(Ring2.ImageSource); } return(IMAGE_SOURCE_ITEM); }
public async Task <string> LoadLegsImage() { if (Legs != null) { return(Legs.ImageSource); } else if (LegsId.HasValue) { Legs = await AGearRoutes.GetOne(LegsId.Value); return(Legs.ImageSource); } return(IMAGE_SOURCE_LEGS); }
public async Task <string> LoadArmorImage() { if (Armor != null) { return(Armor.ImageSource); } else if (ArmorId.HasValue) { Armor = await AGearRoutes.GetOne(ArmorId.Value); return(Armor.ImageSource); } return(IMAGE_SOURCE_ARMOR); }
public async Task <string> LoadHeadImage() { if (Head != null) { return(Head.ImageSource); } else if (HeadId.HasValue) { Head = await AGearRoutes.GetOne(HeadId.Value); return(Head.ImageSource); } return(IMAGE_SOURCE_HEAD); }