2023-10-03 14:23:56 +00:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2020-04-22 16:56:21 +00:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
|
|
|
|
#ifndef ENTITYPARTICLETRAIL_SHARED_H
|
|
|
|
|
#define ENTITYPARTICLETRAIL_SHARED_H
|
|
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// For networking this bad boy
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
#ifdef CLIENT_DLL
|
|
|
|
|
EXTERN_RECV_TABLE( DT_EntityParticleTrailInfo );
|
|
|
|
|
#else
|
|
|
|
|
EXTERN_SEND_TABLE( DT_EntityParticleTrailInfo );
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// Particle trail info
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
struct EntityParticleTrailInfo_t
|
|
|
|
|
{
|
|
|
|
|
EntityParticleTrailInfo_t();
|
|
|
|
|
|
|
|
|
|
DECLARE_CLASS_NOBASE( EntityParticleTrailInfo_t );
|
|
|
|
|
DECLARE_SIMPLE_DATADESC();
|
|
|
|
|
DECLARE_EMBEDDED_NETWORKVAR();
|
|
|
|
|
|
|
|
|
|
string_t m_strMaterialName;
|
|
|
|
|
CNetworkVar( float, m_flLifetime );
|
|
|
|
|
CNetworkVar( float, m_flStartSize );
|
|
|
|
|
CNetworkVar( float, m_flEndSize );
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // ENTITYPARTICLETRAIL_SHARED_H
|