C# Class Valve.Steamworks.CSteamUserStats

Inheritance: ISteamUserStats
Show file Open project: kronosaur/Transcendence

Public Methods

Method Description
AttachLeaderboardUGC ( ulong hSteamLeaderboard, ulong hUGC ) : ulong
CSteamUserStats ( IntPtr SteamUserStats )
ClearAchievement ( string pchName ) : bool
DownloadLeaderboardEntries ( ulong hSteamLeaderboard, uint eLeaderboardDataRequest, int nRangeStart, int nRangeEnd ) : ulong
DownloadLeaderboardEntriesForUsers ( ulong hSteamLeaderboard, CSteamID prgUsers ) : ulong
FindLeaderboard ( string pchLeaderboardName ) : ulong
FindOrCreateLeaderboard ( string pchLeaderboardName, uint eLeaderboardSortMethod, uint eLeaderboardDisplayType ) : ulong
GetAchievement ( string pchName, bool &pbAchieved ) : bool
GetAchievementAchievedPercent ( string pchName, float &pflPercent ) : bool
GetAchievementAndUnlockTime ( string pchName, bool &pbAchieved, uint &punUnlockTime ) : bool
GetAchievementDisplayAttribute ( string pchName, string pchKey ) : string
GetAchievementIcon ( string pchName ) : int
GetAchievementName ( uint iAchievement ) : string
GetDownloadedLeaderboardEntry ( ulong hSteamLeaderboardEntries, int index, LeaderboardEntry_t &pLeaderboardEntry, int &pDetails, int cDetailsMax ) : bool
GetGlobalStat ( string pchStatName, long &pData ) : bool
GetGlobalStat0 ( string pchStatName, double &pData ) : bool
GetGlobalStatHistory ( string pchStatName, long pData ) : int
GetGlobalStatHistory0 ( string pchStatName, double pData ) : int
GetIntPtr ( ) : IntPtr
GetLeaderboardDisplayType ( ulong hSteamLeaderboard ) : uint
GetLeaderboardEntryCount ( ulong hSteamLeaderboard ) : int
GetLeaderboardName ( ulong hSteamLeaderboard ) : string
GetLeaderboardSortMethod ( ulong hSteamLeaderboard ) : uint
GetMostAchievedAchievementInfo ( string pchName, uint unNameBufLen, float &pflPercent, bool &pbAchieved ) : int
GetNextMostAchievedAchievementInfo ( int iIteratorPrevious, string pchName, uint unNameBufLen, float &pflPercent, bool &pbAchieved ) : int
GetNumAchievements ( ) : uint
GetNumberOfCurrentPlayers ( ) : ulong
GetStat ( string pchName, int &pData ) : bool
GetStat0 ( string pchName, float &pData ) : bool
GetUserAchievement ( ulong steamIDUser, string pchName, bool &pbAchieved ) : bool
GetUserAchievementAndUnlockTime ( ulong steamIDUser, string pchName, bool &pbAchieved, uint &punUnlockTime ) : bool
GetUserStat ( ulong steamIDUser, string pchName, int &pData ) : bool
GetUserStat0 ( ulong steamIDUser, string pchName, float &pData ) : bool
IndicateAchievementProgress ( string pchName, uint nCurProgress, uint nMaxProgress ) : bool
RequestCurrentStats ( ) : bool
RequestGlobalAchievementPercentages ( ) : ulong
RequestGlobalStats ( int nHistoryDays ) : ulong
RequestUserStats ( ulong steamIDUser ) : ulong
ResetAllStats ( bool bAchievementsToo ) : bool
SetAchievement ( string pchName ) : bool
SetStat ( string pchName, int nData ) : bool
SetStat0 ( string pchName, float fData ) : bool
StoreStats ( ) : bool
UpdateAvgRateStat ( string pchName, float flCountThisSession, double dSessionLength ) : bool
UploadLeaderboardScore ( ulong hSteamLeaderboard, uint eLeaderboardUploadScoreMethod, int nScore, int &pScoreDetails, int cScoreDetailsCount ) : ulong

Private Methods

Method Description
CheckIfUsable ( ) : void

Method Details

AttachLeaderboardUGC() public method

public AttachLeaderboardUGC ( ulong hSteamLeaderboard, ulong hUGC ) : ulong
hSteamLeaderboard ulong
hUGC ulong
return ulong

CSteamUserStats() public method

public CSteamUserStats ( IntPtr SteamUserStats )
SteamUserStats System.IntPtr

ClearAchievement() public method

public ClearAchievement ( string pchName ) : bool
pchName string
return bool

DownloadLeaderboardEntries() public method

public DownloadLeaderboardEntries ( ulong hSteamLeaderboard, uint eLeaderboardDataRequest, int nRangeStart, int nRangeEnd ) : ulong
hSteamLeaderboard ulong
eLeaderboardDataRequest uint
nRangeStart int
nRangeEnd int
return ulong

DownloadLeaderboardEntriesForUsers() public method

public DownloadLeaderboardEntriesForUsers ( ulong hSteamLeaderboard, CSteamID prgUsers ) : ulong
hSteamLeaderboard ulong
prgUsers CSteamID
return ulong

FindLeaderboard() public method

public FindLeaderboard ( string pchLeaderboardName ) : ulong
pchLeaderboardName string
return ulong

FindOrCreateLeaderboard() public method

public FindOrCreateLeaderboard ( string pchLeaderboardName, uint eLeaderboardSortMethod, uint eLeaderboardDisplayType ) : ulong
pchLeaderboardName string
eLeaderboardSortMethod uint
eLeaderboardDisplayType uint
return ulong

GetAchievement() public method

public GetAchievement ( string pchName, bool &pbAchieved ) : bool
pchName string
pbAchieved bool
return bool

GetAchievementAchievedPercent() public method

public GetAchievementAchievedPercent ( string pchName, float &pflPercent ) : bool
pchName string
pflPercent float
return bool

GetAchievementAndUnlockTime() public method

public GetAchievementAndUnlockTime ( string pchName, bool &pbAchieved, uint &punUnlockTime ) : bool
pchName string
pbAchieved bool
punUnlockTime uint
return bool

GetAchievementDisplayAttribute() public method

public GetAchievementDisplayAttribute ( string pchName, string pchKey ) : string
pchName string
pchKey string
return string

GetAchievementIcon() public method

public GetAchievementIcon ( string pchName ) : int
pchName string
return int

GetAchievementName() public method

public GetAchievementName ( uint iAchievement ) : string
iAchievement uint
return string

GetDownloadedLeaderboardEntry() public method

public GetDownloadedLeaderboardEntry ( ulong hSteamLeaderboardEntries, int index, LeaderboardEntry_t &pLeaderboardEntry, int &pDetails, int cDetailsMax ) : bool
hSteamLeaderboardEntries ulong
index int
pLeaderboardEntry LeaderboardEntry_t
pDetails int
cDetailsMax int
return bool

GetGlobalStat() public method

public GetGlobalStat ( string pchStatName, long &pData ) : bool
pchStatName string
pData long
return bool

GetGlobalStat0() public method

public GetGlobalStat0 ( string pchStatName, double &pData ) : bool
pchStatName string
pData double
return bool

GetGlobalStatHistory() public method

public GetGlobalStatHistory ( string pchStatName, long pData ) : int
pchStatName string
pData long
return int

GetGlobalStatHistory0() public method

public GetGlobalStatHistory0 ( string pchStatName, double pData ) : int
pchStatName string
pData double
return int

GetIntPtr() public method

public GetIntPtr ( ) : IntPtr
return System.IntPtr

GetLeaderboardDisplayType() public method

public GetLeaderboardDisplayType ( ulong hSteamLeaderboard ) : uint
hSteamLeaderboard ulong
return uint

GetLeaderboardEntryCount() public method

public GetLeaderboardEntryCount ( ulong hSteamLeaderboard ) : int
hSteamLeaderboard ulong
return int

GetLeaderboardName() public method

public GetLeaderboardName ( ulong hSteamLeaderboard ) : string
hSteamLeaderboard ulong
return string

GetLeaderboardSortMethod() public method

public GetLeaderboardSortMethod ( ulong hSteamLeaderboard ) : uint
hSteamLeaderboard ulong
return uint

GetMostAchievedAchievementInfo() public method

public GetMostAchievedAchievementInfo ( string pchName, uint unNameBufLen, float &pflPercent, bool &pbAchieved ) : int
pchName string
unNameBufLen uint
pflPercent float
pbAchieved bool
return int

GetNextMostAchievedAchievementInfo() public method

public GetNextMostAchievedAchievementInfo ( int iIteratorPrevious, string pchName, uint unNameBufLen, float &pflPercent, bool &pbAchieved ) : int
iIteratorPrevious int
pchName string
unNameBufLen uint
pflPercent float
pbAchieved bool
return int

GetNumAchievements() public method

public GetNumAchievements ( ) : uint
return uint

GetNumberOfCurrentPlayers() public method

public GetNumberOfCurrentPlayers ( ) : ulong
return ulong

GetStat() public method

public GetStat ( string pchName, int &pData ) : bool
pchName string
pData int
return bool

GetStat0() public method

public GetStat0 ( string pchName, float &pData ) : bool
pchName string
pData float
return bool

GetUserAchievement() public method

public GetUserAchievement ( ulong steamIDUser, string pchName, bool &pbAchieved ) : bool
steamIDUser ulong
pchName string
pbAchieved bool
return bool

GetUserAchievementAndUnlockTime() public method

public GetUserAchievementAndUnlockTime ( ulong steamIDUser, string pchName, bool &pbAchieved, uint &punUnlockTime ) : bool
steamIDUser ulong
pchName string
pbAchieved bool
punUnlockTime uint
return bool

GetUserStat() public method

public GetUserStat ( ulong steamIDUser, string pchName, int &pData ) : bool
steamIDUser ulong
pchName string
pData int
return bool

GetUserStat0() public method

public GetUserStat0 ( ulong steamIDUser, string pchName, float &pData ) : bool
steamIDUser ulong
pchName string
pData float
return bool

IndicateAchievementProgress() public method

public IndicateAchievementProgress ( string pchName, uint nCurProgress, uint nMaxProgress ) : bool
pchName string
nCurProgress uint
nMaxProgress uint
return bool

RequestCurrentStats() public method

public RequestCurrentStats ( ) : bool
return bool

RequestGlobalAchievementPercentages() public method

public RequestGlobalAchievementPercentages ( ) : ulong
return ulong

RequestGlobalStats() public method

public RequestGlobalStats ( int nHistoryDays ) : ulong
nHistoryDays int
return ulong

RequestUserStats() public method

public RequestUserStats ( ulong steamIDUser ) : ulong
steamIDUser ulong
return ulong

ResetAllStats() public method

public ResetAllStats ( bool bAchievementsToo ) : bool
bAchievementsToo bool
return bool

SetAchievement() public method

public SetAchievement ( string pchName ) : bool
pchName string
return bool

SetStat() public method

public SetStat ( string pchName, int nData ) : bool
pchName string
nData int
return bool

SetStat0() public method

public SetStat0 ( string pchName, float fData ) : bool
pchName string
fData float
return bool

StoreStats() public method

public StoreStats ( ) : bool
return bool

UpdateAvgRateStat() public method

public UpdateAvgRateStat ( string pchName, float flCountThisSession, double dSessionLength ) : bool
pchName string
flCountThisSession float
dSessionLength double
return bool

UploadLeaderboardScore() public method

public UploadLeaderboardScore ( ulong hSteamLeaderboard, uint eLeaderboardUploadScoreMethod, int nScore, int &pScoreDetails, int cScoreDetailsCount ) : ulong
hSteamLeaderboard ulong
eLeaderboardUploadScoreMethod uint
nScore int
pScoreDetails int
cScoreDetailsCount int
return ulong