Exemplo n.º 1
0
        public static bool Send(Objects.Client client, Objects.Location fromLocation, ushort fromSpriteId, byte fromStackPostion, Objects.Location toLocation, ushort toSpriteId, byte toStackPosition)
        {
            ItemUseOnPacket p = new ItemUseOnPacket(client);

            p.FromLocation      = fromLocation;
            p.FromSpriteId      = fromSpriteId;
            p.FromStackPosition = fromStackPostion;
            p.ToLocation        = toLocation;
            p.ToSpriteId        = toSpriteId;
            p.ToStackPosition   = toStackPosition;

            return(p.Send());
        }
Exemplo n.º 2
0
        public static bool Send(Objects.Client client, Objects.Location fromLocation, ushort fromSpriteId, byte fromStackPostion, Objects.Location toLocation, ushort toSpriteId, byte toStackPosition)
        {
            ItemUseOnPacket p = new ItemUseOnPacket(client);

            p.FromLocation = fromLocation;
            p.FromSpriteId = fromSpriteId;
            p.FromStackPosition = fromStackPostion;
            p.ToLocation = toLocation;
            p.ToSpriteId = toSpriteId;
            p.ToStackPosition = toStackPosition;

            return p.Send();
        }