Пример #1
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Base.Read(reader);
     ScaledStats.Read(reader);
     EnemyClassInput.SelectedIndex = EnemyClassData.FindIndex(reader["EnemyClass"]);
     ElementRates.Read();
     StateRates.Read();
     WidthInput.SelectedIndex    = int.Parse(reader["Width"].ToString());
     HeightInput.SelectedIndex   = int.Parse(reader["Height"].ToString());
     BossTypeInput.SelectedIndex = int.Parse(reader["BossType"].ToString());
     FlyingInput.IsChecked       = reader["Flying"].ToString() == "True" ? true : false;
     ExpInput.Text  = reader["Exp"].ToString();
     GoldInput.Text = reader["Gold"].ToString();
 }
Пример #2
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     Base.Read(reader);
     NatStats.Read(reader);
     ClassChoices.Read();
     Skills.Read();
     StateRates.Read();
     ElementRates.Read();
     Relations.Read();
     CompanionshipInput.Text     = reader["Companionship"].ToString();
     SavePartnerRateInput.Text   = reader["SavePartnerRate"].ToString();
     CounterattackRateInput.Text = reader["CounterattackRate"].ToString();
     AssistDamageRateInput.Text  = reader["AssistDamageRate"].ToString();
 }
Пример #3
0
 protected override void OnRead(SQLiteDataReader reader)
 {
     StateRates.Read();
     ElementRates.Read();
 }