10 lines
		
	
	
		
			683 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			683 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						||
 | 
						||
---@param itemId number 
 | 
						||
---@param itemName string 
 | 
						||
---@param itemLink string 
 | 
						||
---@param includeBank boolean 
 | 
						||
---@param includeCharges boolean 
 | 
						||
---@return number itemCount 
 | 
						||
---Returns information about how many of a given item the player has or on remaining item charges. When the third argument includeCharges is true, the returned number indicates the total number of remaining charges for the item instead of how many of the item you have; e.g. if you have 3 Wizard Oils and one of them has been used twice, the returned value will be 13.
 | 
						||
function GetItemCount(itemId, itemName, itemLink, includeBank, includeCharges) end |