Blizzard / Blizzard/s2client-api
Using DebugInterface from ReplayObserver
Open
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 280
- PR merge metrics
- No merged PRs in 30d
Description
I was tring to use the DebugInterface to present information within the StarCraft window. I tried the following code inside OnStep():
```
auto d = Debug();
d->DebugTextOut("blub", { 0.5f, 0.5f });
d->SendDebug();
```
During runtime, I get the following error:
> While waiting for ResponseDebug received an error.
> Error: Can't save a replay of a replay
What is the problem?
Is it a bug, then please fit it.
Is the DebugInterface not meant for ReplayObservers, then please move Debug() from Client to Agent.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.