You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
40 lines
1.1 KiB
//========= 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 |
|
|
|
|