You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inthepublicoverridevoid_Process(doubledelta)/// [the frame function in Godot], {SteamAPI.RunCallbacks();}
I implemented SteamAPI.RunCallbacks();
However, after I called CreateLobby, it didn't enter the callback function.
privatevoidOnLobbyCreated(LobbyCreated_tcallback){if(callback.m_eResult==EResult.k_EResultOK){LobbyID=newCSteamID(callback.m_ulSteamIDLobby);// Get the id}else{// Todo}}
The text was updated successfully, but these errors were encountered:
The SteamAPICall_t that CreateLobby is returning means that it's a CallResult (specific handler function) rather than a Callback which is a general sink for out of bound delegates.
So you'll probably need to swap LobbyEnter_t over to a CallResult and bind the SteamAPICall_t into it with Set()
I'm using Godot version 4.4 with the .NET version . I'm using .NET 8, and the version of Steamworks.NET is Version="2024.8.0".
After I initialized it with SteamAPI.Init(), I registered the callback function:
Then,
I implemented SteamAPI.RunCallbacks();
However, after I called CreateLobby, it didn't enter the callback function.
The text was updated successfully, but these errors were encountered: