Commits

Ryan Kistner committed 220ba6a

Swapped all GetStat/SetStat

  • Participants
  • Parent commits 9e7b61e

Comments (0)

Files changed (21)

File Open Steamworks/IClientUserStats.h

 	virtual bool RequestCurrentStats( CGameID nGameID ) = 0;
 
 	// Data accessors
+	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( CGameID nGameID, const char *pchName, int *pData ) = 0;
-	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 	virtual bool SetStat( CGameID nGameID, const char *pchName, int nData ) = 0;
-	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( CGameID nGameID, const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats001.h

 	virtual bool RequestCurrentStats( CGameID nGameID ) = 0;
 
 	// Data accessors
+	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( CGameID nGameID, const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 	virtual bool SetStat( CGameID nGameID, const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 
 	virtual bool UpdateAvgRateStat( CGameID nGameID, const char *pchName, float, double dSessionLength ) = 0;
 

File Open Steamworks/ISteamUserStats002.h

 	virtual bool RequestCurrentStats( CGameID nGameID ) = 0;
 
 	// Data accessors
+	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( CGameID nGameID, const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( CGameID nGameID, const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 	virtual bool SetStat( CGameID nGameID, const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( CGameID nGameID, const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( CGameID nGameID, const char *pchName, uint32 nCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats003.h

 	virtual bool RequestCurrentStats( ) = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float, double dSessionLength ) = 0;
 
 

File Open Steamworks/ISteamUserStats004.h

 	virtual bool RequestCurrentStats( ) = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats005.h

 	virtual bool RequestCurrentStats() = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats006.h

 	virtual bool RequestCurrentStats() = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats007.h

 	virtual bool RequestCurrentStats() = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats008.h

 	virtual bool RequestCurrentStats() = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Open Steamworks/ISteamUserStats009.h

 	virtual bool RequestCurrentStats() = 0;
 
 	// Data accessors
+	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 	virtual bool GetStat( const char *pchName, int32 *pData ) = 0;
-	virtual bool GetStat( const char *pchName, float *pData ) = 0;
 
 	// Set / update data
+	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool SetStat( const char *pchName, int32 nData ) = 0;
-	virtual bool SetStat( const char *pchName, float fData ) = 0;
 	virtual bool UpdateAvgRateStat( const char *pchName, float flCountThisSession, double dSessionLength ) = 0;
 
 	// Achievement flag accessors

File Steam4NET/test.cs

 		public IntPtr GetNumAchievements;
 		public IntPtr GetAchievementName;
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats003VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats006VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 		public IntPtr GetNumAchievements;
 		public IntPtr GetAchievementName;
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 		public IntPtr GetNumGroupAchievements;
 		public IntPtr GetGroupAchievementName;
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr GetGroupAchievement;
 	public class ISteamUserStats004VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats005VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats007VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats008VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;
 	public class ISteamUserStats009VTable
 	{
 		public IntPtr RequestCurrentStats;
+		public IntPtr GetStat1;
 		public IntPtr GetStat;
-		public IntPtr GetStat1;
+		public IntPtr SetStat1;
 		public IntPtr SetStat;
-		public IntPtr SetStat1;
 		public IntPtr UpdateAvgRateStat;
 		public IntPtr GetAchievement;
 		public IntPtr SetAchievement;

File Steam4NET2/Steam4NET2/autogen/IClientUserStats.cs

 		public IntPtr GetNumAchievements3;
 		public IntPtr GetAchievementName4;
 		public IntPtr RequestCurrentStats5;
+		public IntPtr GetStat7;
 		public IntPtr GetStat6;
-		public IntPtr GetStat7;
+		public IntPtr SetStat9;
 		public IntPtr SetStat8;
-		public IntPtr SetStat9;
 		public IntPtr UpdateAvgRateStat10;
 		public IntPtr GetAchievement11;
 		public IntPtr SetAchievement12;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats001.cs

 		public IntPtr GetNumGroupAchievements5;
 		public IntPtr GetGroupAchievementName6;
 		public IntPtr RequestCurrentStats7;
+		public IntPtr GetStat9;
 		public IntPtr GetStat8;
-		public IntPtr GetStat9;
+		public IntPtr SetStat11;
 		public IntPtr SetStat10;
-		public IntPtr SetStat11;
 		public IntPtr UpdateAvgRateStat12;
 		public IntPtr GetAchievement13;
 		public IntPtr GetGroupAchievement14;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats002.cs

 		public IntPtr GetNumAchievements3;
 		public IntPtr GetAchievementName4;
 		public IntPtr RequestCurrentStats5;
+		public IntPtr GetStat7;
 		public IntPtr GetStat6;
-		public IntPtr GetStat7;
+		public IntPtr SetStat9;
 		public IntPtr SetStat8;
-		public IntPtr SetStat9;
 		public IntPtr UpdateAvgRateStat10;
 		public IntPtr GetAchievement11;
 		public IntPtr SetAchievement12;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats003.cs

 	public class ISteamUserStats003VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats004.cs

 	public class ISteamUserStats004VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats005.cs

 	public class ISteamUserStats005VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats006.cs

 	public class ISteamUserStats006VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats007.cs

 	public class ISteamUserStats007VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats008.cs

 	public class ISteamUserStats008VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;

File Steam4NET2/Steam4NET2/autogen/ISteamUserStats009.cs

 	public class ISteamUserStats009VTable
 	{
 		public IntPtr RequestCurrentStats0;
+		public IntPtr GetStat2;
 		public IntPtr GetStat1;
-		public IntPtr GetStat2;
+		public IntPtr SetStat4;
 		public IntPtr SetStat3;
-		public IntPtr SetStat4;
 		public IntPtr UpdateAvgRateStat5;
 		public IntPtr GetAchievement6;
 		public IntPtr SetAchievement7;