Team Fortress 2 Source Code as on 22/4/2020
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.

27 lines
613 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. #ifndef C_ENTITY_CURRENCYPACK_H
  3. #define C_ENTITY_CURRENCYPACK_H
  4. class C_CurrencyPack : public C_BaseAnimating
  5. {
  6. public:
  7. DECLARE_CLASS( C_CurrencyPack, C_BaseAnimating );
  8. DECLARE_CLIENTCLASS();
  9. C_CurrencyPack();
  10. ~C_CurrencyPack();
  11. virtual void OnDataChanged( DataUpdateType_t updateType ) OVERRIDE;
  12. virtual void ClientThink();
  13. private:
  14. void UpdateGlowEffect( void );
  15. void DestroyGlowEffect( void );
  16. CGlowObject *m_pGlowEffect;
  17. bool m_bShouldGlowForLocalPlayer;
  18. bool m_bDistributed;
  19. };
  20. #endif // C_ENTITY_CURRENCYPACK_H