Commits

Didrole committed d149bf8

Reverted CAmount changes (Steam4NET doesn't like templates).

  • Participants
  • Parent commits 6db4fea

Comments (0)

Files changed (2)

File Open Steamworks/IClientUser.h

 	virtual AppId_t GetMicroTxnAppID( GID_t gidTransID ) = 0;
 	virtual uint64 GetMicroTxnOrderID( GID_t gidTransID ) = 0;
 
-	virtual bool BGetMicroTxnPrice( GID_t gidTransID, CAmount<int> *pamtTotal, CAmount<int> *pamtTax, bool *pbVat ) = 0;
+	virtual bool BGetMicroTxnPrice( GID_t gidTransID, CAmount *pamtTotal, CAmount *pamtTax, bool *pbVat ) = 0;
 
 	virtual int32 GetMicroTxnLineItemCount( GID_t gidTransID ) = 0;
 
-	virtual bool BGetMicroTxnLineItem( GID_t gidTransID, uint32 unLineItem, CAmount<int> *pamt, uint32 *punQuantity, char *pchDescription, uint32 cubDescriptionLength ) = 0;
+	virtual bool BGetMicroTxnLineItem( GID_t gidTransID, uint32 unLineItem, CAmount *pamt, uint32 *punQuantity, char *pchDescription, uint32 cubDescriptionLength ) = 0;
 
 	virtual bool BIsSandboxMicroTxn( GID_t gidTransID, bool* pbSandbox ) = 0;
 
 
 	virtual void NotifyAppMicroTxnAuthResponse( AppId_t unAppID, uint64 ulOrderID, bool bAuthorized ) = 0;
 
-	virtual bool BGetWalletBalance( bool *pbHasWallet, CAmount<int> *pamtBalance ) = 0;
+	virtual bool BGetWalletBalance( bool *pbHasWallet, CAmount *pamtBalance ) = 0;
 
 	virtual SteamAPICall_t RequestMicroTxnInfo( GID_t gidTransID ) = 0;
 

File Open Steamworks/UserCommon.h

 	bool m_bRelay : 1;
 };
 
-template <typename T>
 class CAmount
 {
 public:
-	T m_nAmount;
+	int m_nAmount;
 	ECurrencyCode m_eCurrencyCode;
 };