swiftlys2/docs/api/ai/
API Reference Events

IOnWeaponServicesDropWeaponHook

Interface
Namespace: SwiftlyS2.Shared.Events · Assembly: SwiftlyS2.CS2.dll
[Obsolete("This event is deprecated and will be removed in future versions. Use GameHooks instead.")]
public interface IOnWeaponServicesDropWeaponHook
View source

Properties

Result

The result of the hook.

HookResult Result { get; set; }
Property Value

SwappingWeapon

Swapping weapon with one from the ground.

bool SwappingWeapon { get; }
Property Value

Weapon

The weapon.

CBasePlayerWeapon? Weapon { get; }
Property Value

WeaponServices

The weapon services.

CCSPlayer_WeaponServices WeaponServices { get; }