gear_slot_t
Gear slot a weapon occupies on the player (weapon-switch wheel grouping).
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
No field in the schema is typed with this enum, and no other module declares the same name.
Values
| Name | Value | Unsigned | Description |
|---|---|---|---|
GEAR_SLOT_INVALID | -1 | 0xFFFFFFFF | |
GEAR_SLOT_FIRST | 0 | ||
GEAR_SLOT_RIFLE | 0 | Primary weapon slot (rifles, SMGs, shotguns, LMGs). | |
GEAR_SLOT_PISTOL | 1 | Secondary weapon slot (pistols). | |
GEAR_SLOT_KNIFE | 2 | Melee slot (knife). | |
GEAR_SLOT_GRENADES | 3 | Grenade slot. | |
GEAR_SLOT_C4 | 4 | Bomb (C4) slot. | |
GEAR_SLOT_RESERVED_SLOT6 | 5 | ||
GEAR_SLOT_RESERVED_SLOT7 | 6 | ||
GEAR_SLOT_RESERVED_SLOT8 | 7 | ||
GEAR_SLOT_RESERVED_SLOT9 | 8 | ||
GEAR_SLOT_RESERVED_SLOT10 | 9 | ||
GEAR_SLOT_RESERVED_SLOT11 | 10 | ||
GEAR_SLOT_BOOSTS | 11 | ||
GEAR_SLOT_LAST | 12 | ||
GEAR_SLOT_UTILITY | 12 | ||
GEAR_SLOT_COUNT | 13 |