mirror of https://github.com/FWGS/hlsdk-xash3d
36 lines
559 B
C++
Executable File
36 lines
559 B
C++
Executable File
|
|
#ifndef SERPENT_STAFF_H
|
|
#define SERPENT_STAFF_H
|
|
|
|
class CSerpentStaff : public CBasePlayerWeapon
|
|
{
|
|
public:
|
|
void Spawn( void );
|
|
void Precache( void );
|
|
int iItemSlot( void ) { return 3; }
|
|
int GetItemInfo(ItemInfo *p);
|
|
int AddToPlayer( CBasePlayer *pPlayer );
|
|
|
|
void PrimaryAttack( void );
|
|
void SecondaryAttack( void );
|
|
BOOL Deploy( void );
|
|
void Holster( int skiplocal = 0 );
|
|
void WeaponIdle( void );
|
|
int m_fJustThrown;
|
|
|
|
virtual BOOL UseDecrement( void )
|
|
{
|
|
#if defined( CLIENT_WEAPONS )
|
|
return TRUE;
|
|
#else
|
|
return FALSE;
|
|
#endif
|
|
}
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|