/// <summary> /// /// </summary> /// <param name="record"></param> public AuctionHouseInstance(AuctionHouseDAO record) { m_databaseRecord = record; m_categoriesByTemplate = new Dictionary <int, List <AuctionCategory> >(); m_categoryById = new Dictionary <int, AuctionCategory>(); m_templatesByType = new Dictionary <int, List <int> >(); m_auctionsByAccount = new Dictionary <long, List <AuctionEntry> >(); m_allowedTypes = new List <int>(); m_templateMiddlePrice = new Dictionary <int, long>(); }
/// <summary> /// /// </summary> /// <param name="record"></param> public AuctionHouseInstance(AuctionHouseDAO record) { m_databaseRecord = record; m_categoriesByTemplate = new Dictionary<int, List<AuctionCategory>>(); m_categoryById = new Dictionary<int, AuctionCategory>(); m_templatesByType = new Dictionary<int, List<int>>(); m_auctionsByAccount = new Dictionary<long, List<AuctionEntry>>(); m_allowedTypes = new List<int>(); m_templateMiddlePrice = new Dictionary<int, long>(); }