SchemaEntityClasses
CSmokeGrenadeProjectile
CSmokeGrenadeProjectile
Inheritance: CBaseCSGrenadeProjectile
Fields
- m_nSmokeEffectTickBegin int32_t
- m_bDidSmokeEffect bool
- m_nRandomSeed int32_t
- m_vSmokeColor Vector
- m_vSmokeDetonationPos Vector
- m_VoxelFrameData CUtlVector<uint8_t>
- m_nVoxelFrameDataSize int32_t
- m_nVoxelUpdate int32_t
- m_flLastBounce float
- m_fllastSimulationTime float
- m_bExplodeFromInferno bool
- m_bDidGroundScorch bool
Methods
CSmokeGrenadeProjectile* EmitGrenade(vecPosition, angAngle, vecVelocity, nTeam, pOwner, nItemDefIndex)
Spawns a live grenade of this type. Ported from SwiftlyS2.
Parameters
- vecPosition const Vector&
- angAngle const QAngle&
- vecVelocity const Vector&
- nTeam int
- pOwner CBaseEntity*
- nItemDefIndex uint32_t
CSmokeGrenadeProjectile* New(className)
Parameters
- className const char*
CSmokeGrenadeProjectile* FromIndex(iIndex)
Parameters
- iIndex int
CSmokeGrenadeProjectile* FromIndex(index)
Parameters
- index CEntityIndex