Example #1
0
        /// <summary>
        /// Client sends an updated wish list when something is changed.
        /// Wish list max size is 10.
        /// Client expects to receive a full wish list packet back.
        /// </summary>
        /// <param name="c"></param>
        /// <param name="p"></param>
        public static void ModifyWishList(WvsShopClient c, CInPacket p)
        {
            if (p.Available < 40)
            {
                return;
            }

            c.Character.Stats.WishList = p.DecodeIntArray(10);

            c.SendPacket(CPacket.CCashShop.WishListData(c, true));
            c.EnableActions();
        }