Update promotions class for more links

This commit is contained in:
Megalon 2021-05-07 18:14:38 -07:00
parent 7788c2573c
commit 27a8e3f4ae

View file

@ -1,3 +1,5 @@
using System.Collections.Generic;
namespace ModAssistant
{
class Promotions
@ -7,8 +9,11 @@ namespace ModAssistant
new Promotion
{
ModName = "YUR Fit Calorie Tracker",
Text = "Join our Discord!",
Link = "https://yur.chat"
Links = new List<PromotionLink>(){
new PromotionLink{Text = "Join our Discord!", Link = "https://yur.chat", TextAfterLink = " Or find us on "},
new PromotionLink{Text = "iOS", Link = "https://y.at/💣🍑📱", TextAfterLink = " and " },
new PromotionLink{Text = "Android", Link = "https://y.at/💾🔬📡💻📱", TextAfterLink = "!" }
},
}
};
}
@ -16,7 +21,13 @@ namespace ModAssistant
class Promotion
{
public string ModName;
public List<PromotionLink> Links;
}
class PromotionLink
{
public string Text;
public string Link;
public string TextAfterLink;
}
}