Blizzard / Blizzard/s2client-api

OnUnitIdle override not working

Open
#301 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.7k
Forks
280
PR merge metrics
No merged PRs in 30d

Description

I am following the tutorial [here ](https://github.com/Blizzard/s2client-api/blob/master/docs/tutorial2.md) but when I try to print a simple string after overriding OnUnitIdle nothing happens.

This is what I use:
`virtual void OnUnitIdle(const Unit* unit) final { std::cout << "TEST" << std::endl......`.
Then I create a worker and let it do nothing, but there is no message in the console window.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.