Example #1
0
 public SpellInformation(KeyedClientDatabase<int, SpellRecord> spellDatabase)
 {
     if (spellDatabase == null)
         throw new ArgumentNullException("spellDatabase");
     characterInformation = new CharacterInformation();
     this.spellDatabase = spellDatabase;
     spellId = -1;
 }
 public SpellInformation(KeyedClientDatabase <int, SpellRecord> spellDatabase)
 {
     if (spellDatabase == null)
     {
         throw new ArgumentNullException("spellDatabase");
     }
     characterInformation = new CharacterInformation();
     this.spellDatabase   = spellDatabase;
     spellId = -1;
 }