Ejemplo n.º 1
0
 public static bool IsEmbersChatSkill(ChatSkillModel skill)
 {
     return(SkillUsageModel.GetChatSkillCostType(skill) == SkillCostTypeEnum.Embers);
 }
Ejemplo n.º 2
0
 public SkillUsageModel(UserViewModel user, ChatSkillModel skill, string message)
     : this(user, skill.skill_name, SkillTypeEnum.Sticker, SkillUsageModel.GetChatSkillCostType(skill), skill.cost, skill.icon_url, message)
 {
     this.ChatSkill = skill;
 }