Facepunch.Steamworks Wiki

Steamworks.SteamUserStats.SetStat

Syntax

static bool SetStat( string name, int value )

Description

Set a stat value. This will automatically call StoreStats() after a successful call unless you pass false as the last argument.

Arguments

string name
int value

Returns

bool

Syntax

static bool SetStat( string name, float value )

Description

Set a stat value. This will automatically call StoreStats() after a successful call unless you pass false as the last argument.

Arguments

string name
float value

Returns

bool