# Sandbox.BaseCombatWeapon.IEvents

Weapon events, posted to the weapon's GameObject and its ancestors on every peer, dedicated servers
included. The holder's animator implements this to react to what its weapon does.

## Remarks

A weapon that was just put away can still post, so check the weapon is the one you hold. Listeners that
are presentation only should ignore events on a dedicated server themselves.

- Kind: interface
- Assembly: `Sandbox.Engine`
- Modifiers: abstract

## Methods

- [`OnWeaponEvent`](/api/Sandbox.BaseCombatWeapon.IEvents/OnWeaponEvent): The weapon did something its holder may animate, named by `name`, usually one of [Sandbox.WeaponEvents](/api/Sandbox.WeaponEvents).
