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.
42 lines
886 B
42 lines
886 B
//========= 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
|
|
|