Table of Contents

Class KillAchievement

Namespace
GrindFest
Assembly
GrindFest.dll

Mass Extinction - Kill monsters. Lots of monsters. ALL the monsters.

public class KillAchievement : Achievement
Inheritance
object
KillAchievement
Inherited Members

Properties

ExternalAchievementId

The external platform achievement identifier (e.g. Steam achievement API name). Override in concrete achievements that have an external counterpart.

ExternalAchievementRank

Which rank triggers the external platform achievement (Steam, Kongregate, etc). -1 means no external achievement. 1-based rank index. Progress is tracked continuously toward this rank's threshold.

ExternalStatName

The Steam Stat API name for progress tracking (e.g. "stat_kills"). When set, the stat is updated continuously so Steam shows progress in the overlay. Null means no stat tracking (achievement is binary unlock only).

Methods

CalculateNextThreshold(int)
GetDescription(int)
GetRankName(int)
Initialize()

Called once when the achievement is created. Set Name, Category here.

Subscribe()

Called after all achievements are initialized. Subscribe to events here.