Rom's Rants

Free-Roaming Hostility From A QA/Developer Perspective.

Wednesday, February 14, 2007

Source SDK API Question

I'm trying to add support for the USK version of "SiN Episodes" to "USEMP," as well as provide a slightly nicer error message when trying to mount an AppID that the customer doesn't have.

Is there an API available as part of the regular Source SDK to find out whether or not a particular AppID has been purchased?

posted by Michael Russell at  

1 Comments:

Andrew Timson said...

Well, you could always try mounting it, and popping an error message if it fails:

if(filesystem->MountSteamContent(id)==FILESYSTEM_MOUNT_FAILED)
        /* die gracefully */

A quick passover of the wiki/headers doesn't show any other functions that would allow this without actually mounting the content (at least, not in the exposed part of the SDK).

2/14/2007 11:00 PM  

Post a Comment

Links to this post:

Create a Link

<< Home