Table of Contents

Method PublishMod

Namespace
GrindFest
Assembly
GrindFest.dll

PublishMod(string, ulong)

Publish or update a mod to Steam Workshop.

  1. Reads mod.json from modFolder
  2. Creates temp directory with only shippable content
  3. Creates/updates Workshop item
  4. Reports progress via OnPublishProgress
  5. Reports completion via OnPublishComplete
public Task<PublishResult> PublishMod(string modFolder, ulong existingId = 0)

Parameters

modFolder string

Full path to the mod's root folder.

existingId ulong

If updating, the existing Workshop item id. 0 for new.

Returns

Task<PublishResult>