checks 'this' if the incoming flag is present for the current state (slot behavior and others)
4512 {
4513 int slotId;
4516
4518 int count = values.Count();
4519 for (int i = 0; i < count; i++)
4520 {
4521 if (currentSlotValuesAll.Find(values[i]) != -1)
4522 return true;
4523 }
4524 return false;
4525 }
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.