The functions of the *WeaponItems group only return the attachments (optics, flashlight), but not the currently loaded magazine.
The reason why I think this is important is that it makes it hard to maintain a good overview of what the player has. "magazines player" returns only magazines in the inventory (vest, uniform and backpack), but NOT the loaded magazine.