Facepunch.Steamworks Wiki

Steamworks.Friend.GetStatInt

Syntax

int GetStatInt( string statName, int defult = 0 )

Description

Gets a user stat. Must call RequestUserStats first.

Arguments

string statName
The name of the stat you want to get
int defult 0
Will return this value if not available

Returns

int
The value, or defult if not available