Пример #1
0
        public VendorSearchGump(PlayerMobile pm, int cat = -1)
            : base(pm, 10, 10)
        {
            Criteria       = VendorSearch.GetContext(pm);
            ChosenCategory = cat;

            if (Criteria == null)
            {
                Criteria = VendorSearch.AddNewContext(pm);
            }
        }
Пример #2
0
        public VendorSearchGump(PlayerMobile pm, int feedback = -1)
            : base(pm, 10, 10)
        {
            TypeID   = 0xF3EC8;
            Feedback = feedback;
            Criteria = VendorSearch.GetContext(pm);

            if (Criteria == null)
            {
                Criteria = VendorSearch.AddNewContext(pm);
            }
        }