diff options
Diffstat (limited to 'game/server/tf/tf_taunt_prop.h')
| -rw-r--r-- | game/server/tf/tf_taunt_prop.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/game/server/tf/tf_taunt_prop.h b/game/server/tf/tf_taunt_prop.h new file mode 100644 index 0000000..2d48ae4 --- /dev/null +++ b/game/server/tf/tf_taunt_prop.h @@ -0,0 +1,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 |