Skip to main content

classify_weapon

Function classify_weapon 

Source
pub fn classify_weapon(
    inventory_type: i32,
    item_subclass: i32,
    is_caster: bool,
) -> Option<WeaponClass>
Expand description

Classify a weapon by inventory_type, item_subclass, and caster-weapon flag; None for non-weapons.