Closed ghost closed 10 years ago
A few issues I'm having while running:
Hmm...
I've got some downtime, but I'm not at a machine with HS installed.. I'll knock down these issues and then issue another pull request. Thanks for your feedback!
Thanks jz. I considered adding the Hearthstone DLL's in there in case it wasn't installed/found, but ultimately decided it would make the program too bloated.
Cleaned up the code a little bit - moved many inline class declarations out to their own class files. Much easier to manage!
Also, I scrapped the code that was declaring DeckLists and wrote up a few classes to read that data from a JSON file.
I did this from a machine that didn't have Hearthstone installed, so I wasn't able to build and test using your TCP stack. However, I did some rudimentary testing with my changes.
Let me know if you have any questions about some of the changes I made. My main goal was to start to make parts of your code base a little easier to maintain, my second goal was to start up a super basic data access layer so you weren't declaring your datasets at run time.
Also, I opened this up in Visual Studio 2013. Apologies if that isn't the version you have installed and the sln file got converted.