As a sort of follow-up, steam_api_c.dll contains a reference to SteamUser010. Is steam_api.dll what provides the ISteamUser interface, or is there another .dll that does?
On 18 February 2017 at 12:56, Tom Schumann <schumann....@gmail.com> wrote: > Yeah okay. So ISteamUser has a GetSteamID method which I guess should work > regardless of offline mode or sv_lan > I guess it's just a matter of including the header files and linking to > steam_api.lib > Although Half-Life's steam_api.dll exposes SteamUser016 and there are only > headers for SteamUser004 and SteamUser008 (from the Source SDK on Steam) > and SteamUser018 (from the Source SDK on GitHub) so I guess it's not really > doable from Half-Life with the currently available sources. > > On 14 February 2017 at 21:26, Sam Vanheer <duo...@hotmail.com> wrote: > >> Only interfaces exposed in steam_gameserver.h's >> CSteamGameServerAPIContext class can be accessed on the server side. >> >> >> The client side connects to the local Steam client instance, so >> whichever account you're logged in as will be used. >> >> >> Regards, >> >> >> Solokiller >> >> >> Op 14/02/2017 om 12:08 schreef Tom Schumann: >> > For the record I'm working with GoldSource but am still interested in >> how >> > to use this API for working out if a player owns a game. >> > How does it work in Source? Is it meant to be called and used from >> > client.dll only? Does client.dll always have the player's Steam ID >> > regardless of sv_lan or offline mode or whatever? >> > >> > I had a look at the code in source-sdk-2013 on GitHub but could find no >> > uses of it. >> > _______________________________________________ >> > To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> > >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders