Class SteamWorkshopService
- Namespace
- GrindFest
- Assembly
- GrindFest.dll
Steam Workshop integration for GrindFest mods. Handles publishing, querying, subscribing, and installing Workshop items.
Uses Facepunch.Steamworks UGC API.
Well-known content folders included when publishing: UI/ (full source + dist/), Scripts/, Story/, Assets/, mod.json, preview.*
Excluded directories: node_modules, .git, .vs, .vscode, .idea, obj, bin
public class SteamWorkshopService : Singleton<SteamWorkshopService>
- Inheritance
-
objectSteamWorkshopService
- Inherited Members
Methods
- LoadWorkshopMeta(string)
Load workshop metadata from .workshop.json. Returns null if not published.
- SaveWorkshopMeta(string, WorkshopMeta)
Save workshop metadata to .workshop.json in mod folder.
Events
- OnDownloadProgress
Fired during workshop item download with (workshopId, progress 0..1).
- OnPublishComplete
Fired when a publish operation completes. (success, modName, workshopId or error)
- OnPublishProgress
Fired during publish with progress 0..1.