A function added by MWSE.
xAddItem is a wrapper for the original AddItem to take variables.
ref->xAddItem objectid (string) count (long)
long pcRef Setx pcRef to xGetRef "Player" pcRef->xAddItem "Gold_001" 5000
xInventoryxNextStackxContentListxRemoveItemxHasItemEquippedxEquipxDropxAddSpellxRemoveSpell