checks 'this' if the incoming flag is present for the current state (slot behavior and others)
4567 {
4568 int slotId;
4571
4573 int count = values.Count();
4574 for (int i = 0; i < count; ++i)
4575 {
4576 if (currentSlotValuesAll.Find(values[i]) != -1)
4577 return true;
4578 }
4579 return false;
4580 }
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.