예제 #1
0
 public ClientBuyOtherPlayerShopItemEventArgs(BuyOtherPlayerShopItem i)
 {
     info = i;
 }
예제 #2
0
        public static BuyOtherPlayerShopItem RecvBuyOtherPlayerShopItem(Packet p)
        {
            p.Skip(2);
            int playerid = p.ReadInt();
            byte fromslot = p.ReadByte();
            int itemid = p.ReadInt();
            byte tobag = p.ReadByte();
            byte toslot = p.ReadByte();
            int price = p.ReadInt();

            BuyOtherPlayerShopItem i = new BuyOtherPlayerShopItem
            {
                CharacterID = playerid,
                FromSlot = fromslot,
                ItemID = itemid,
                ToBag = tobag,
                ToSlot = toslot,
                Price = price
            };

            return i;
        }