Esempio n. 1
0
 /// <summary>
 /// When overridden in the derived class, notifies the <paramref name="character"/> that they have
 /// started shopping at the given <paramref name="shop"/>.
 /// </summary>
 /// <param name="character">The character doing the shopping.</param>
 /// <param name="shop">The shop that the <paramref name="character"/> is shopping at..</param>
 protected override void SendStartShopping(User character, IShop <ShopItem> shop)
 {
     using (var pw = ServerPacket.StartShopping(ShopOwner.MapEntityIndex, shop))
     {
         character.Send(pw, ServerMessageType.GUI);
     }
 }