Exemplo n.º 1
0
        internal void SearchCatalogItem()
        {
            uint        ItemID = Request.PopWiredUInt();
            CatalogItem iItem  = (CatalogItem)OtanixEnvironment.GetGame().GetCatalog().catalogItems[ItemID];

            if (iItem == null || EmuSettings.CATALOG_NOSEARCH_PAGES.Contains(iItem.PageID))
            {
                return;
            }

            ServerMessage Message = new ServerMessage(Outgoing.SearchCatalogItem);

            iItem.Serialize(Message);
            Session.SendMessage(Message);
        }