SwiftlyS2

CSmokeGrenadeProjectile

Interface CSmokeGrenadeProjectile

Namespace: SwiftlyS2.Shared.SchemaDefinitions

Assembly: SwiftlyS2.CS2.dll

public interface CSmokeGrenadeProjectile : CBaseCSGrenadeProjectile, CBaseGrenade, CBaseAnimGraph, CBaseModelEntity, CBaseEntity, CEntityInstance, IEquatable<CEntityInstance>, ISchemaClass<CEntityInstance>, ISchemaClass<CBaseEntity>, ISchemaClass<CBaseModelEntity>, ISchemaClass<CBaseAnimGraph>, ISchemaClass<CBaseGrenade>, ISchemaClass<CBaseCSGrenadeProjectile>, ISchemaClass<CSmokeGrenadeProjectile>, ISchemaField, ISchemaClass, INativeHandle

Implements

Properties

DidGroundScorch

ref bool DidGroundScorch { get; }
Property Value

DidSmokeEffect

ref bool DidSmokeEffect { get; }
Property Value

ExplodeFromInferno

ref bool ExplodeFromInferno { get; }
Property Value

FllastSimulationTime

GameTime_t FllastSimulationTime { get; }
Property Value

LastBounce

GameTime_t LastBounce { get; }
Property Value

RandomSeed

ref int RandomSeed { get; }
Property Value

SmokeColor

ref Vector SmokeColor { get; }
Property Value

SmokeDetonationPos

ref Vector SmokeDetonationPos { get; }
Property Value

SmokeEffectTickBegin

ref int SmokeEffectTickBegin { get; }
Property Value

VoxelFrameData

ref CUtlVector<byte> VoxelFrameData { get; }
Property Value

VoxelFrameDataSize

ref int VoxelFrameDataSize { get; }
Property Value

VoxelUpdate

ref int VoxelUpdate { get; }
Property Value

Methods

DidSmokeEffectUpdated()

void DidSmokeEffectUpdated()

EmitGrenade(Vector, QAngle, Vector, Team, CBasePlayerPawn?)

Creates a smoke grenade projectile.

Thread unsafe, use async variant instead for non-main thread context.

[ThreadUnsafe]
public static CSmokeGrenadeProjectile EmitGrenade(Vector pos, QAngle angle, Vector velocity, Team team, CBasePlayerPawn? owner)
Parameters
  • pos Vector — The position where the smoke grenade projectile will be created.
  • angle QAngle — The angle at which the smoke grenade projectile will be created.
  • velocity Vector — The velocity of the smoke grenade projectile.
  • team Team — The team associated with the smoke grenade projectile.
  • owner CBasePlayerPawn? — The owner of the smoke grenade projectile.
Returns

EmitGrenadeAsync(Vector, QAngle, Vector, Team, CBasePlayerPawn?)

Creates a smoke grenade projectile asynchronously.

Task<CSmokeGrenadeProjectile> EmitGrenadeAsync(Vector pos, QAngle angle, Vector velocity, Team team, CBasePlayerPawn? owner)
Parameters
  • pos Vector — The position where the smoke grenade projectile will be created.
  • angle QAngle — The angle at which the smoke grenade projectile will be created.
  • velocity Vector — The velocity of the smoke grenade projectile.
  • team Team — The team associated with the smoke grenade projectile.
  • owner CBasePlayerPawn? — The owner of the smoke grenade projectile.
Returns

RandomSeedUpdated()

void RandomSeedUpdated()

SmokeColorUpdated()

void SmokeColorUpdated()

SmokeDetonationPosUpdated()

void SmokeDetonationPosUpdated()

SmokeEffectTickBeginUpdated()

void SmokeEffectTickBeginUpdated()

VoxelFrameDataSizeUpdated()

void VoxelFrameDataSizeUpdated()

VoxelFrameDataUpdated()

void VoxelFrameDataUpdated()

VoxelUpdateUpdated()

void VoxelUpdateUpdated()

On this page