downloadUgcToLocation
downloadUgcToLocation(
handle,location,priority):Promise<UgcDownloadResult>
Downloads a UGC file like downloadUgc(), but to the path location. Needs init(). This starts network transfers.
The header gives no detail on the location format, so the result of a custom location is unverified against a live Steam client.
Rejects when handle is invalid, when location contains a NUL character (nothing is downloaded), or when Steam reports an error. There is no timeout: if Steam never answers, the Promise stays pending.
Parameters
Section titled “Parameters”handle
Section titled “handle”bigint
The UGC handle as a BigInt.
location
Section titled “location”string
The path to write the file to.
priority
Section titled “priority”number
0 downloads at once; see downloadUgc().
Returns
Section titled “Returns”Promise<UgcDownloadResult>
the file’s handle, app id, size, file name and owner.
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
