Closed oniietzschan closed 5 years ago
I will take a look at this tomorrow or Wednesday.
Hello, sorry for the delay.
The problem is that the first callback is called Steam.userStats.onUserStatsReceived
, and the second callback is called Steam.friends.onGameOverlayActivated
(doc).
I'm so sorry, it seems like the Getting Started page is wrong for onGameOverlayActivated
, that's what led to you mistake. I'll fix that.
It seems the doc is also wrong in mentioning userStatsReceived
.
I fixed these mistakes in the doc. Should show up in the next release (I'll probably make a small release with just the docs, since not much is going on here).
Please reopen this if you still have problems :)
Here's my code. I would expect
userStatsReceived
to be called eventually, andonGameOverlayActivated
to be called whenever I open and close the team overlay, but neither happen for me. Is there something I'm doing wrong? I've tested this with Steamwork SDK 1.42 and SDK 1.44, both behave identically.Despite all this, I'm still able to execute
setAchievement
,getAchievement
,storeStats
, andresetAllStats
, and they all appear to work in real time.Thank you.