Joined two declarations to their assignments
Made a few fields readonly since they only appear to get set in the constructor
Removed redundant null initializer from _databaseConnection
typeOfAttack is unused: marked it with a // TODO: comment
Ran CodeMaid over the file, cleaned up a few functions and set some variables to use the implicit var keyword