mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
58 lines
1.2 KiB
C++
58 lines
1.2 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef TF_CLASS_PYRO_H
|
|
#define TF_CLASS_PYRO_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#include "TFClassData_Shared.h"
|
|
|
|
|
|
class CWeaponFlameThrower;
|
|
class CWeaponGasCan;
|
|
|
|
|
|
//=====================================================================
|
|
// Medic
|
|
class CPlayerClassPyro : public CPlayerClass
|
|
{
|
|
DECLARE_CLASS( CPlayerClassPyro, CPlayerClass );
|
|
public:
|
|
CPlayerClassPyro( CBaseTFPlayer *pPlayer, TFClass iClass );
|
|
virtual ~CPlayerClassPyro();
|
|
|
|
|
|
// Overrides.
|
|
public:
|
|
|
|
virtual void SetupSizeData();
|
|
virtual void CreateClass();
|
|
virtual void SetPlayerHull();
|
|
virtual void GetPlayerHull( bool bDucking, Vector &vecMin, Vector &vecMax );
|
|
virtual void ResetViewOffset();
|
|
virtual void InitVCollision();
|
|
virtual bool ResupplyAmmo( float flFraction, ResupplyReason_t reason );
|
|
virtual void ClassActivate();
|
|
|
|
virtual const char* GetClassModelString( int nTeam );
|
|
|
|
|
|
private:
|
|
|
|
PlayerClassPyroData_t m_ClassData;
|
|
|
|
CHandle<CWeaponFlameThrower> m_hWpnFlameThrower;
|
|
CHandle<CWeaponGasCan> m_hWpnGasCan;
|
|
};
|
|
|
|
|
|
|
|
#endif // TF_CLASS_PYRO_H
|