Table of Contents

Method UnlockAchievement

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

UnlockAchievement(string, int, int, int)

Unlock an achievement for the player who must be logged in.

public void UnlockAchievement(string achievementId, int lastValue = 0, int currentValue = 0, int maxValue = 0)

Parameters

achievementId string

The achievement ID on the remote server.

lastValue int

The previous value of the associated achievement stat.

currentValue int

The current value of the associated achievement stat.

maxValue int

The maximum value of the associate achievement stat.