mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-24 15:16:49 +00:00
43 lines
886 B
C
43 lines
886 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef TF_HINTMANAGER_H
|
||
|
#define TF_HINTMANAGER_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "cbase.h"
|
||
|
|
||
|
class CBaseTFPlayer;
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Purpose:
|
||
|
//-----------------------------------------------------------------------------
|
||
|
class CTFHintManager : public CBaseEntity
|
||
|
{
|
||
|
DECLARE_CLASS( CTFHintManager, CBaseEntity );
|
||
|
|
||
|
public:
|
||
|
|
||
|
DECLARE_SERVERCLASS();
|
||
|
|
||
|
CTFHintManager( void );
|
||
|
|
||
|
virtual void Spawn( void );
|
||
|
|
||
|
virtual void Think( void );
|
||
|
|
||
|
virtual int UpdateTransmitState();
|
||
|
|
||
|
private:
|
||
|
|
||
|
void AddHint( CBaseTFPlayer *player, int hintID, int priority, int entityIndex = 0 );
|
||
|
};
|
||
|
|
||
|
#endif // TF_HINTMANAGER_H
|