コード例 #1
0
 public ClientMoveShopItemToBagEventArgs(MoveShopItemToBagInfo i)
 {
     info = i;
 }
コード例 #2
0
        public static MoveShopItemToBagInfo RecvMoveShopItemToBag(Packet p)
        {
            p.Skip(2);
            byte fromslot = p.ReadByte();
            int itemid = p.ReadInt();
            byte tobag = p.ReadByte();
            byte toslot = p.ReadByte();

            MoveShopItemToBagInfo i = new MoveShopItemToBagInfo
            {
                FromSlot = fromslot,
                ItemID = itemid,
                ToBag = tobag,
                ToSlot = toslot
            };

            return i;
        }