Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit events for pack openings #39

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Conversation

losttime
Copy link

This update configures Hearthstone to start logging the Achievements.log file. With an abstracted log file watcher, this update also watches the Achievements.log file to detect when cards have been gained (signaling a pack has been opened). The update then emits a pack-opened event containing the details of the cards that were obtained.

This was discussed a while back (gregstewart/hearthstone-tracker/issues/273) but was abandoned because it was not possible in the logs at the time. Blizzard seems to have since reactivated the relevant logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant