Exemple #1
0
 public Idol(string label,string name,Rarity rarity, IdolCategory cat, int life,int dance,int vocal,int visual,DateTime implemented, ICenterEffect centerEffect,ISkill skill)
 {
     Label = label;
     Name = name;
     Rarity = rarity;
     Category = cat;
     Life = life;
     Dance = dance;
     Vocal = vocal;
     Visual = visual;
     CenterEffect = centerEffect;
     Skill = skill;
     ImplementationDate = implemented;
 }
Exemple #2
0
 public Idol(string label, string name, Rarity rarity, IdolCategory cat, int life, int dance, int vocal, int visual, DateTime implemented, ICenterEffect centerEffect, ISkill skill)
 {
     Label              = label;
     Name               = name;
     Rarity             = rarity;
     Category           = cat;
     Life               = life;
     Dance              = dance;
     Vocal              = vocal;
     Visual             = visual;
     CenterEffect       = centerEffect;
     Skill              = skill;
     ImplementationDate = implemented;
 }
Exemple #3
0
 public static string ToSongTypeLocalizedString(this IdolCategory t)
 {
     return(m_songCats[t]);
 }
Exemple #4
0
 public static string ToFullLocalizedString(this IdolCategory cat)
 {
     return(m_idolCatsFull[cat]);
 }
Exemple #5
0
 public void SetConfig(FilterConfig config)
 {
     if(config==null)
     {
         return;
     }
     TypeFilter = config.TypeFilter;
     RarityFilter = config.RarityFilter;
     NameFilter = config.NameFilter;
     var asm = typeof(CenterEffect).Assembly;
     CenterEffectFilter = string.IsNullOrEmpty(config.CenterEffectFilter) ? null : asm.GetType(config.CenterEffectFilter);
     SkillFilter = string.IsNullOrEmpty(config.SkillFilter) ? null : Type.GetType(config.SkillFilter);
     FilterOwned = config.FilterOwned;
 }
Exemple #6
0
 public Song(string title, IdolCategory type, params SongData[] data)
 {
     Title = title;
     Data  = data == null ? new Dictionary <SongDifficulty, SongData>() : data.ToDictionary(x => x.Difficulty);
     Type  = type;
 }
Exemple #7
0
 public Song(string title, IdolCategory type, params SongData[] data)
 {
     Title = title;
     Data = data == null ? new Dictionary<SongDifficulty, SongData>() : data.ToDictionary(x => x.Difficulty);
     Type = type;
 }
Exemple #8
0
 public void SetCategory(IdolCategory Category)
 {
     this.Category = Category;
 }