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.
43 lines
1.0 KiB
43 lines
1.0 KiB
5 years ago
|
//========= 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
|