Bug Description
The problem of 2 being returned unconditionally when using the method.
Steps to Reproduce
steamInstance.init({ appId: 480 }) After running A, I ran userHasLicenseForApp (with the ID of the game I actually own) but it always returns 2.
Expected Behavior
return 0 or 1
Actual Behavior
awalys 2 return
Code Sample
const steamInstance = SteamworksSDK.getInstance()
steamInstance.init({ appId: 480 })
console.log(
"license : " +
steamInstance.user.userHasLicenseForApp(
steamInstance.getStatus().steamId,
480
)
)
Affected API
User API
Package Version
0.8.7
Operating System
Windows 11
Node.js Version
version 23.11.1
Environment
Electron
Error Logs
Checklist
Additional Context
The Steam client was running, and when I entered the ID of the game I was actually playing, it always returned 2. I also ran the init method.
Bug Description
The problem of 2 being returned unconditionally when using the method.
Steps to Reproduce
steamInstance.init({ appId: 480 }) After running A, I ran userHasLicenseForApp (with the ID of the game I actually own) but it always returns 2.
Expected Behavior
return 0 or 1
Actual Behavior
awalys 2 return
Code Sample
Affected API
User API
Package Version
0.8.7
Operating System
Windows 11
Node.js Version
version 23.11.1
Environment
Electron
Error Logs
Checklist
npm run verify-sdkand it passesAdditional Context
The Steam client was running, and when I entered the ID of the game I was actually playing, it always returned 2. I also ran the init method.