vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --[[ |
2 | Auctioneer Addon for World of Warcraft(tm). |
||
3 | Version: 3.9.0.1000 (Kangaroo) |
||
4 | Revision: $Id: AucEvent.lua 675 2006-01-05 19:33:38Z mentalpower $ |
||
5 | |||
6 | Auctioneer event functions |
||
7 | Functions to hook when other addons want to recieve events when we do certain things |
||
8 | |||
9 | License: |
||
10 | This program is free software; you can redistribute it and/or |
||
11 | modify it under the terms of the GNU General Public License |
||
12 | as published by the Free Software Foundation; either version 2 |
||
13 | of the License, or (at your option) any later version. |
||
14 | |||
15 | This program is distributed in the hope that it will be useful, |
||
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
18 | GNU General Public License for more details. |
||
19 | |||
20 | You should have received a copy of the GNU General Public License |
||
21 | along with this program(see GPL.txt); if not, write to the Free Software |
||
22 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||
23 | ]] |
||
24 | |||
25 | local eventScanAuction, eventStartAuctionScan, eventStopAuctionScan, eventFinishedAuctionScan, eventAuctionQuery |
||
26 | |||
27 | -- Hook this function to be called whenever an auction entry is successfully inspected |
||
28 | function scanAuction(auctionpage, auctionid) |
||
29 | -- auctionpage: the page number this item was found on |
||
30 | -- auctionid: the id of the inspected item |
||
31 | end |
||
32 | |||
33 | -- Hook this function to be called whenever Auctioneer starts an auction scan |
||
34 | function startAuctionScan() |
||
35 | end |
||
36 | |||
37 | -- Hook this function to be called whenever Auctioneer stops an auction scan |
||
38 | function stopAuctionScan() |
||
39 | end |
||
40 | |||
41 | -- Hook this function to be called whenever Auctioneer completes a full auction scan |
||
42 | function finishedAuctionScan() |
||
43 | end |
||
44 | |||
45 | -- Hook this function to be called whenever Auctioneer sends a new auction query |
||
46 | function auctionQuery(auctionpage) |
||
47 | -- auctionpage: the page number for the query that was just sent |
||
48 | end |
||
49 | |||
50 | |||
51 | |||
52 | Auctioneer.Event = { |
||
53 | ScanAuction = scanAuction, |
||
54 | StartAuctionScan = startAuctionScan, |
||
55 | StopAuctionScan = stopAuctionScan, |
||
56 | FinishedAuctionScan = finishedAuctionScan, |
||
57 | AuctionQuery = auctionQuery, |
||
58 | } |