[][src]Function tes3mp_plugin::plugin::generated::has_item_equipped

pub fn has_item_equipped(pid: u16, ref_id: &str) -> bool

Check whether a player has equipped an item with a certain refId in any slot.

pid The player ID.
ref_id The refId of the item.

Returns whether the player has the item equipped.