struct JunkItemRecord
{
	[ customEditor = "TweakDBGroupInheritance;Items.BaseDestroyedJunk" ]
	editable var m_junkItemID : TweakDBID;
}

class VendorComponent extends ScriptableComponent
{
	[ customEditor = "TweakDBGroupInheritance;Vendors.VendingMachine" ]
	private editable var m_vendorTweakID : TweakDBID;
	private const editable var m_junkItemArray : array< JunkItemRecord >;
	[ customEditor = "AudioEvent" ]
	private editable var m_brandProcessingSFX : CName;
	default m_brandProcessingSFX = 'dev_vending_machine_processing';
	[ customEditor = "AudioEvent" ]
	private editable var m_itemFallSFX : CName;
	default m_itemFallSFX = 'dev_vending_machine_can_falls';

	public const function GetVendorID() : TweakDBID
	{
		return m_vendorTweakID;
	}

	public const function GetJunkItemIDs() : array< JunkItemRecord >
	{
		return m_junkItemArray;
	}

	public const function GetJunkCount() : Int32
	{
		return m_junkItemArray.Size();
	}

	public const function GetProcessingSFX() : CName
	{
		return m_brandProcessingSFX;
	}

	public const function GetItemFallSFX() : CName
	{
		return m_itemFallSFX;
	}

}

