-
Notifications
You must be signed in to change notification settings - Fork 40
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
GameOverlayActivated_t and GetTicketForWebApiResponse_t callbacks #93
Comments
Okay, I figured it out about GetTicketForWebApiResponse_t (I didn't try to do the second function because I didn't need it). I'm not very good at python or c++, but it worked for me, so here's a quick explanation for those who need it. First, SteamworksPy.cpp. Under MicroTxn class:
Then define GetAuthTicketForWebApi function. Actually it takes the service identifier parameter, but I didn't need it, so I didn't implement it. You can implement it yourself.
And in the bottom of code:
Next you have to build library.
and this at the bottom of code:
Now structs.py. Below:
Last thing - interfaces/users.py. At the start of SteamUsers class (above the init):
And two functions (for request and callback):
That's it. Here is an EXAMPLE on how I use it.
And the function itself:
Hope it helped. Peace! |
Thank you for your investigation, would you mind submitting a PR? |
Hi! How can I use callbacks for activating overlay (GameOverlayActivated_t) and ISteamUser::GetAuthTicketForWebApi (GetTicketForWebApiResponse_t)? In advance, I understand I need OpenGL/d3d for overlay.
Thanks!
The text was updated successfully, but these errors were encountered: