CMolotovProjectile
Interface CMolotovProjectile
Namespace: SwiftlyS2.Shared.SchemaDefinitions
Assembly: SwiftlyS2.CS2.dll
public interface CMolotovProjectile : CBaseCSGrenadeProjectile, CBaseGrenade, CBaseAnimGraph, CBaseModelEntity, CBaseEntity, CEntityInstance, IEquatable<CEntityInstance>, ISchemaClass<CEntityInstance>, ISchemaClass<CBaseEntity>, ISchemaClass<CBaseModelEntity>, ISchemaClass<CBaseAnimGraph>, ISchemaClass<CBaseGrenade>, ISchemaClass<CBaseCSGrenadeProjectile>, ISchemaClass<CMolotovProjectile>, ISchemaField, ISchemaClass, INativeHandleImplements
- CBaseCSGrenadeProjectile
- CBaseGrenade
- CBaseAnimGraph
- CBaseModelEntity
- CBaseEntity
- CEntityInstance
- IEquatable<CEntityInstance>
- ISchemaClass<CEntityInstance>
- ISchemaClass<CBaseEntity>
- ISchemaClass<CBaseModelEntity>
- ISchemaClass<CBaseAnimGraph>
- ISchemaClass<CBaseGrenade>
- ISchemaClass<CBaseCSGrenadeProjectile>
- ISchemaClass<CMolotovProjectile>
- ISchemaField
- ISchemaClass
- INativeHandle
Properties
Detonated
ref bool Detonated { get; }Property Value
IsIncGrenade
ref bool IsIncGrenade { get; }Property Value
StillTimer
IntervalTimer StillTimer { get; }Property Value
Methods
EmitGrenade(Vector, QAngle, Vector, Team, CBasePlayerPawn?)
Creates a molotov grenade projectile.
Thread unsafe, use async variant instead for non-main thread context.
[ThreadUnsafe]
public static CMolotovProjectile EmitGrenade(Vector pos, QAngle angle, Vector velocity, Team team, CBasePlayerPawn? owner)Parameters
- pos Vector — The position where the molotov grenade projectile will be created.
- angle QAngle — The angle at which the molotov grenade projectile will be created.
- velocity Vector — The velocity of the molotov grenade projectile.
- team Team — The team of the molotov grenade projectile.
- owner CBasePlayerPawn? — The owner of the molotov grenade projectile.
Returns
- CMolotovProjectile — The created molotov grenade projectile.
EmitGrenadeAsync(Vector, QAngle, Vector, Team, CBasePlayerPawn?)
Creates a molotov grenade projectile asynchronously.
Task<CMolotovProjectile> EmitGrenadeAsync(Vector pos, QAngle angle, Vector velocity, Team team, CBasePlayerPawn? owner)Parameters
- pos Vector — The position where the molotov grenade projectile will be created.
- angle QAngle — The angle at which the molotov grenade projectile will be created.
- velocity Vector — The velocity of the molotov grenade projectile.
- team Team — The team of the molotov grenade projectile.
- owner CBasePlayerPawn? — The owner of the molotov grenade projectile.
Returns
- Task<CMolotovProjectile> — The created molotov grenade projectile.
IsIncGrenadeUpdated()
void IsIncGrenadeUpdated()