This commit is contained in:
FluorescentCIAAfricanAmerican
2020-04-22 12:56:21 -04:00
commit 3bf9df6b27
15370 changed files with 5489726 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Auto Repair
//
// $NoKeywords: $
//=============================================================================//
#ifndef C_TF_PLAYERCLASS_H
#define C_TF_PLAYERCLASS_H
#ifdef _WIN32
#pragma once
#endif
class C_BaseTFPlayer;
class CUserCmd;
class C_PlayerClass
{
public:
DECLARE_CLASS_NOBASE( C_PlayerClass );
C_PlayerClass( C_BaseTFPlayer *pPlayer );
~C_PlayerClass();
static C_PlayerClass *Create( C_BaseTFPlayer *pPlayer, int iClassType );
static void Destroy( C_PlayerClass *pPlayerClass );
virtual void PreClassThink( void ) {};
virtual void ClassThink( void ) {};
virtual void PostClassThink( void ) {};
virtual void ClassPreDataUpdate( void ) {};
virtual void ClassOnDataChanged( void ) {};
virtual void CreateMove( float flInputSampleTime, CUserCmd *pCmd ) {};
// Vehicles
virtual bool CanGetInVehicle( void ) { return true; }
protected:
C_BaseTFPlayer *m_pPlayer; // reference to player (peer)
};
#include "TFClassData_Shared.h"
#endif // C_TF_PLAYERCLASS_H