CSWeaponType
Broad weapon type classification (CCSWeaponBaseVData.m_WeaponType).
CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json
Kind: enumSize: 4 bytes (0x4)Underlying type: uint32_tModule: serverBinary: !GlobalTypes
Relationships
Used by (2) as a field type
Values
| Name | Value | Unsigned | Description |
|---|---|---|---|
WEAPONTYPE_KNIFE | 0 | ||
WEAPONTYPE_PISTOL | 1 | ||
WEAPONTYPE_SUBMACHINEGUN | 2 | ||
WEAPONTYPE_RIFLE | 3 | ||
WEAPONTYPE_SHOTGUN | 4 | ||
WEAPONTYPE_SNIPER_RIFLE | 5 | ||
WEAPONTYPE_MACHINEGUN | 6 | ||
WEAPONTYPE_C4 | 7 | The bomb (C4). | |
WEAPONTYPE_TASER | 8 | The zeus x27 taser. | |
WEAPONTYPE_GRENADE | 9 | A throwable grenade. | |
WEAPONTYPE_EQUIPMENT | 10 | Equipment (kevlar, defuse kit, and similar non-firing items). | |
WEAPONTYPE_STACKABLEITEM | 11 | ||
WEAPONTYPE_UNKNOWN | 12 |