Table of Contents

Method SetProgress

Namespace
GrindFest
Assembly
GrindFest.dll

SetProgress(string, string, long, long)

Report progress toward an external achievement. Call this whenever the tracked amount changes. Steam will show a progress notification and auto-unlock when the threshold is reached.

public static void SetProgress(string statName, string achievementId, long currentAmount, long targetAmount)

Parameters

statName string

Steam Stat API name (e.g. "stat_kills"). Null to skip stat update.

achievementId string

Steam Achievement API name (e.g. "mass_extinction").

currentAmount long

Current progress value.

targetAmount long

Target threshold for unlock. Used for progress display.