Ejemplo n.º 1
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="key">キー(キャラ名を)</param>
 /// <param name="fileName">ファイルネーム</param>
 internal void Init(string name, string pattern, string nameText, StringGridRow row)
 {
     this.name    = name;
     this.pattern = pattern;
     this.InitKey(AdvCharacterSetting.ToDataKey(name, pattern));
     this.nameText = nameText;
     this.graphic  = new GraphicInfoList(AdvGraphicInfoParser.TypeCharacter, Key, AdvParser.ParseCellOptional <string>(row, AdvColumnName.FileType, ""));
     if (!AdvParser.IsEmptyCell(row, AdvColumnName.FileName))
     {
         AddGraphicInfo(row);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 初期化
 /// </summary>
 /// <param name="key">キー(キャラ名を)</param>
 /// <param name="fileName">ファイルネーム</param>
 internal void Init(string name, string pattern, string nameText, StringGridRow row)
 {
     this.name    = name;
     this.pattern = pattern;
     this.RowData = row;
     this.InitKey(AdvCharacterSetting.ToDataKey(name, pattern));
     this.nameText = nameText;
     this.graphic  = new AdvGraphicInfoList(Key);
     if (!AdvParser.IsEmptyCell(row, AdvColumnName.FileName))
     {
         AddGraphicInfo(row);
     }
 }