// This file is automatically generated.
using System;
using System.Text;
using System.Runtime.InteropServices;

namespace Steam4NET
{

	public enum EBillingType : int
	{
		eNoCost = 0,
		eBillOnceOnly = 1,
		eBillMonthly = 2,
		eProofOfPrepurchaseOnly = 3,
		eGuestPass = 4,
		eHardwarePromo = 5,
		eGift = 6,
		eAutoGrant = 7,
		OEMTicket = 8,
		eRecurringOption = 9,
		eNumBillingTypes = 10,
	};
	
	[StructLayout(LayoutKind.Sequential,Pack=8)]
	public struct TSteamSubscription
	{
		public string szName;
		public UInt32 uMaxNameChars;
		public IntPtr puAppIds;
		public UInt32 uMaxAppIds;
		public UInt32 uId;
		public UInt32 uNumApps;
		public EBillingType eBillingType;
		public UInt32 uCostInCents;
		public UInt32 uNumDiscounts;
		public Int32 bIsPreorder;
		public Int32 bRequiresShippingAddress;
		public UInt32 uDomesticShippingCostInCents;
		public UInt32 uInternationalShippingCostInCents;
		[MarshalAs(UnmanagedType.I1)]
		public bool bIsCyberCafeSubscription;
		public UInt32 uGameCode;
		[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 255)]
		public string szGameCodeDesc;
		[MarshalAs(UnmanagedType.I1)]
		public bool bIsDisabled;
		[MarshalAs(UnmanagedType.I1)]
		public bool bRequiresCD;
		public UInt32 uTerritoryCode;
		[MarshalAs(UnmanagedType.I1)]
		public bool bIsSteam3Subscription;
	};
	
}
