Counter Strike : Global Offensive Source Code
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.
 
 
 
 
 
 

51 lines
1.0 KiB

//========= Copyright © 1996-2012, Valve Corporation, All rights reserved. ============//
//
// Purpose: Client side interactive, shootable chicken
//
// $NoKeywords: $
//=============================================================================//
#ifndef C_CHICKEN_H
#define C_CHICKEN_H
#ifdef _WIN32
#pragma once
#endif
#include "c_props.h"
#define CChicken C_CChicken
class C_CChicken : public C_DynamicProp
{
public:
DECLARE_CLASS( C_CChicken, C_DynamicProp );
DECLARE_CLIENTCLASS();
C_CChicken();
virtual ~C_CChicken();
private:
C_CChicken( const C_CChicken& ); // not defined, not accessible
public:
void SetClientSideHolidayHatAddon( bool bEnable );
public:
virtual void Spawn();
static void RecvProxy_Jumped( const CRecvProxyData *pData, void *pStruct, void *pOut );
virtual void ClientThink( );
private:
CHandle<C_BaseAnimating> m_hHolidayHatAddon;
Activity m_lastActivity;
CNetworkVar( bool, m_jumpedThisFrame );
CNetworkVar( EHANDLE, m_leader ); // who we are following, or NULL
};
#endif // C_CHICKEN_H