Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
915 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef C_TF_CLASS_TECHNICIAN_H
#define C_TF_CLASS_TECHNICIAN_H
#ifdef _WIN32
#pragma once
#endif
#include "c_tf_playerclass.h"
#include "dt_recv.h"
class C_PlayerClassSapper : public C_PlayerClass
{
DECLARE_CLASS( C_PlayerClassSapper, C_PlayerClass );
public:
C_PlayerClassSapper( C_BaseTFPlayer *pPlayer );
virtual ~C_PlayerClassSapper();
DECLARE_PREDICTABLE();
PlayerClassSapperData_t* GetClassData( void ) { return &m_ClassData; }
// Energy handling
float GetDrainedEnergy( void );
void DeductDrainedEnergy( float flEnergy );
protected:
PlayerClassSapperData_t m_ClassData;
public:
float m_flDrainedEnergy;
};
EXTERN_RECV_TABLE( DT_PlayerClassSapperData )
#endif // C_TF_CLASS_TECHNICIAN_H