public SkillRow AddSkillRow(string Id, string Name, string Description, int SelectTargetType, int Cost, int EffectTargetType, SkillsRow parentSkillsRowBySkills_Skill)
 {
     SkillRow rowSkillRow = ((SkillRow)(this.NewRow()));
     object[] columnValuesArray = new object[] {
             Id,
             Name,
             Description,
             SelectTargetType,
             Cost,
             EffectTargetType,
             null,
             null};
     if ((parentSkillsRowBySkills_Skill != null)) {
         columnValuesArray[7] = parentSkillsRowBySkills_Skill[0];
     }
     rowSkillRow.ItemArray = columnValuesArray;
     this.Rows.Add(rowSkillRow);
     return rowSkillRow;
 }
 public SkillsRowChangeEvent(SkillsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow = row;
     this.eventAction = action;
 }
 public void RemoveSkillsRow(SkillsRow row)
 {
     this.Rows.Remove(row);
 }
 public void AddSkillsRow(SkillsRow row)
 {
     this.Rows.Add(row);
 }
Beispiel #5
0
 public SkillsRowChangeEvent(SkillsRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
Beispiel #6
0
 public int GetSkillRowIndexFromRow(SkillsRow skillsRow)
 {
     return(GetRowIndexFromRow(Xls.TableCodes.SKILLS, skillsRow));
 }