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.

44 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef ENTITYPARTICLETRAIL_SHARED_H
  7. #define ENTITYPARTICLETRAIL_SHARED_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // For networking this bad boy
  13. //-----------------------------------------------------------------------------
  14. #ifdef CLIENT_DLL
  15. EXTERN_RECV_TABLE( DT_EntityParticleTrailInfo );
  16. #else
  17. EXTERN_SEND_TABLE( DT_EntityParticleTrailInfo );
  18. #endif
  19. //-----------------------------------------------------------------------------
  20. // Particle trail info
  21. //-----------------------------------------------------------------------------
  22. struct EntityParticleTrailInfo_t
  23. {
  24. EntityParticleTrailInfo_t();
  25. DECLARE_CLASS_NOBASE( EntityParticleTrailInfo_t );
  26. DECLARE_SIMPLE_DATADESC();
  27. DECLARE_EMBEDDED_NETWORKVAR();
  28. string_t m_strMaterialName;
  29. CNetworkVar( float, m_flLifetime );
  30. CNetworkVar( float, m_flStartSize );
  31. CNetworkVar( float, m_flEndSize );
  32. };
  33. #endif // ENTITYPARTICLETRAIL_SHARED_H