コード例 #1
0
            public LootTemplateRow AddLootTemplateRow(string LootTemplate_ID, string TemplateName, string ItemTemplateID, int Chance)
            {
                LootTemplateRow rowLootTemplateRow = ((LootTemplateRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    LootTemplate_ID,
                    TemplateName,
                    ItemTemplateID,
                    Chance
                };
                rowLootTemplateRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowLootTemplateRow);
                return(rowLootTemplateRow);
            }
コード例 #2
0
 public LootTemplateRowChangeEvent(LootTemplateRow row, global::System.Data.DataRowAction action) {
     this.eventRow = row;
     this.eventAction = action;
 }
コード例 #3
0
 public void RemoveLootTemplateRow(LootTemplateRow row) {
     this.Rows.Remove(row);
 }
コード例 #4
0
 public void AddLootTemplateRow(LootTemplateRow row) {
     this.Rows.Add(row);
 }
コード例 #5
0
 public LootTemplateRowChangeEvent(LootTemplateRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }
コード例 #6
0
 public void RemoveLootTemplateRow(LootTemplateRow row)
 {
     this.Rows.Remove(row);
 }
コード例 #7
0
 public void AddLootTemplateRow(LootTemplateRow row)
 {
     this.Rows.Add(row);
 }