mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-11 19:29:08 +00:00
1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user