mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-07 16:06:41 +00:00
43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: Interface for the client to general GC API
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================
|
|
|
|
#ifndef C_TF_FREEACCOUNT_H
|
|
#define C_TF_FREEACCOUNT_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
namespace vgui
|
|
{
|
|
class Panel;
|
|
};
|
|
class CSelectPlayerDialog;
|
|
|
|
/**
|
|
* @return true if the local player is using a free trial account, false otherwise
|
|
*/
|
|
bool IsFreeTrialAccount();
|
|
|
|
/**
|
|
* @return true if the local player needs to choose their most helpful friend, false otherwse
|
|
*/
|
|
bool NeedsToChooseMostHelpfulFriend();
|
|
|
|
/**
|
|
* Adds an alert that the player needs to choose their most helpful friend
|
|
*/
|
|
void NotifyNeedsToChooseMostHelpfulFriend();
|
|
|
|
/**
|
|
* Opens the dialog where the user can specify the friend that helped them the most
|
|
* @param pParent
|
|
* @return CSelectPlayerDialog
|
|
*/
|
|
CSelectPlayerDialog *OpenSelectMostHelpfulFriendDialog( vgui::Panel *pParent );
|
|
|
|
#endif // C_TF_FREEACCOUNT_H
|