This commit is contained in:
FluorescentCIAAfricanAmerican
2020-04-22 12:56:21 -04:00
commit 3bf9df6b27
15370 changed files with 5489726 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Holds the CEconClaimCode object
//
// $NoKeywords: $
//=============================================================================//
#ifndef ECON_CLAIMCODE_H
#define ECON_CLAIMCODE_H
#ifdef _WIN32
#pragma once
#endif
#include "gcsdk/protobufsharedobject.h"
//---------------------------------------------------------------------------------
// Purpose: All the account-level information that the GC tracks for TF
//---------------------------------------------------------------------------------
class CEconClaimCode : public GCSDK::CProtoBufSharedObject< CSOEconClaimCode, k_EEconTypeClaimCode >
{
#ifdef GC
DECLARE_CLASS_MEMPOOL( CEconClaimCode );
#endif
public:
#ifdef GC
virtual bool BYieldingAddInsertToTransaction( GCSDK::CSQLAccess & sqlAccess );
void WriteToRecord( CSchAssignedClaimCode *pClaimCode );
void ReadFromRecord( const CSchAssignedClaimCode & mapContribution );
#endif
};
#ifdef GC
bool BBuildRedemptionURL( CEconClaimCode *pClaimCode, CUtlString &redemptionURL );
#endif
#endif // ECON_CLAIMCODE_H