checks 'this' if the incoming flag is present for the current state (slot behavior and others)
4634 {
4635 int slotId;
4638
4640 int count = values.Count();
4641 for (int i = 0; i < count; ++i)
4642 {
4643 if (currentSlotValuesAll.Find(values[i]) != -1)
4644 return true;
4645 }
4646 return false;
4647 }
PlayerSpawnPreset slotName
proto native GameInventory GetInventory()
set< int > GetAttachmentExclusionMaskAll(int slotId)
Slot-specific, children (attachments), and additional (state etc.) masks combined.
bool GetCurrentAttachmentSlotInfo(out int slot_id, out string slot_name)
Returns true if the item is currently attached and outputs attachment slot id and name.