csgo-2018-source/game/shared/portal/player_pickup_paint_power_user.h
2021-07-24 21:11:47 -07:00

34 lines
1.2 KiB
C++

//========= Copyright © 1996-2009, Valve Corporation, All rights reserved. ============//
//
// Purpose: Declares the base class for prop paint power users that the player can pick up.
//
//=============================================================================//
#ifndef PLAYER_PICKUP_PAINT_POWER_USER_H
#define PLAYER_PICKUP_PAINT_POWER_USER_H
#ifndef CLIENT_DLL
#include "player_pickup.h"
#endif
#include "prop_paint_power_user.h"
template< typename BasePlayerPickupType >
class PlayerPickupPaintPowerUser : public PropPaintPowerUser< BasePlayerPickupType >
{
DECLARE_CLASS( PlayerPickupPaintPowerUser< BasePlayerPickupType >, PropPaintPowerUser< BasePlayerPickupType > );
public:
//-------------------------------------------------------------------------
// IPlayerPickupVphysics Overrides
//-------------------------------------------------------------------------
virtual void OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason );
};
template< typename BasePlayerPickupType >
void PlayerPickupPaintPowerUser<BasePlayerPickupType>::OnPhysGunPickup( CBasePlayer *pPhysGunUser, PhysGunPickup_t reason )
{
BaseClass::OnPhysGunPickup( pPhysGunUser, reason );
}
#endif // ifndef PLAYER_PICKUP_PAINT_POWER_USER_H