blob: 70295aad913339de7f7731de38ac422181b91af5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
//========= 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
|