Beispiel #1
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Base.Read(reader);
     ToolAttributes.Read(reader);
     ToolStateRates.Read(reader);
     PermanentStatMods.Read(reader);
     DefaultPriceInput.Text       = reader["DefaultPrice"].ToString();
     ConsumableInput.IsChecked    = reader["Consumable"].ToString() == "True" ? true : false;
     TurnsIntoInput.SelectedIndex = TurnsIntoData.FindIndex(reader["TurnsInto"]);
 }
Beispiel #2
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Base.Read(reader);
     ToolAttributes.Read(reader);
     ToolStateRates.Read(reader);
     EquipBoosts.Read(reader);
     WeaponTypeInput.SelectedIndex = WeaponTypeData.FindIndex(reader["WeaponType"]);
     RangeInput.Text             = reader["Range"].ToString();
     CollideRangeInput.IsChecked = reader["CollideRange"].ToString() == "True" ? true : false;
     DefaultPriceInput.Text      = reader["DefaultPrice"].ToString();
     DefaultQuantityInput.Text   = reader["DefaultQuantity"].ToString();
 }
Beispiel #3
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Base.Read(reader);
     ToolAttributes.Read(reader);
     ToolStateRates.Read(reader);
     PlayerSummons.Read();
     EnemySummons.Read();
     SPConsumeInput.Text = reader["SPConsume"].ToString();
     NumberOfUsersInput.SelectedIndex = int.Parse(reader["NumberOfUsers"].ToString());
     ChargeInput.Text     = reader["Charge"].ToString();
     WarmUpInput.Text     = reader["WarmUp"].ToString();
     CoolDownInput.Text   = reader["CoolDown"].ToString();
     StealInput.IsChecked = reader["Steal"].ToString() == "True" ? true : false;
 }