summaryrefslogtreecommitdiff
path: root/game/server/tf/tf_taunt_prop.h
blob: 2d48ae4a957fd0deb42cc7941ca625284bc84716 (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
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Play VCD on taunt prop
//
// $NoKeywords: $
//=============================================================================//
#ifndef TF_TAUNT_PROP_H
#define TF_TAUNT_PROP_H
#ifdef _WIN32
#pragma once
#endif

class CTFTauntProp : public CBaseCombatCharacter
{
	DECLARE_CLASS( CTFTauntProp, CBaseCombatCharacter );
public:
	DECLARE_SERVERCLASS();

	CTFTauntProp();

	virtual bool StartSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event, CChoreoActor *actor, CBaseEntity *pTarget ) OVERRIDE;

	virtual bool ProcessSceneEvent( CSceneEventInfo *info, CChoreoScene *scene, CChoreoEvent *event ) OVERRIDE;

	virtual float PlayScene( const char *pszScene, float flDelay = 0.0f, AI_Response *response = NULL, IRecipientFilter *filter = NULL ) OVERRIDE;

	virtual void UpdateOnRemove() OVERRIDE;

private:
	EHANDLE m_hScene;
};

#endif // TF_TAUNT_PROP_H