コード例 #1
0
ファイル: Idol.cs プロジェクト: yowa/Cindeck
 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;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: Utils.cs プロジェクト: noelex/Cindeck
 public static string ToSongTypeLocalizedString(this IdolCategory t)
 {
     return(m_songCats[t]);
 }
コード例 #4
0
ファイル: Utils.cs プロジェクト: noelex/Cindeck
 public static string ToFullLocalizedString(this IdolCategory cat)
 {
     return(m_idolCatsFull[cat]);
 }
コード例 #5
0
ファイル: IdolFilter.cs プロジェクト: yowa/Cindeck
 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;
 }
コード例 #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;
 }
コード例 #7
0
ファイル: Song.cs プロジェクト: noelex/Cindeck
 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;
 }
コード例 #8
0
 public void SetCategory(IdolCategory Category)
 {
     this.Category = Category;
 }