Greetings, and welcome to the DKP addon for The Scorned.

It is event based, and my idea is to have it easily extensible so that we either can divide up the work, or 
at least make it possible to do so.
It currently allows others to get notifications on what's up by hooking TheScornedDKP_System_Event.
What events is available is noted in constants.lua.


It is based on the idea that you should really use CT_RaidAssist to pass along any big data.
As it is, it will not work (too long messages) in sending DKP points over a non-CTRA based connection.
Actually, it won't receive data sent over CT_RA either.

Currently, this is mostly for the bid master to keep watch over bids and to notify people when they try to bid too much.
It will also keep track of won bids.

What is implemented (not sure working):

 Slash commands /dkp or /tsdkp
 Only recognizing true authorities (promoted / above due to ML not being known unless in same group)
 Should not resend commands
 Bidding
 Passing
 Declaring a winner
 Clearing a bid
 Starting a bid

 Graphical User Interface (basic)


What needs to be done:

CT_RA compatibility
 (receiving DKP data)

Input/Output box
 Big text box that executes a function when you press OK (or nothing, in the case of a output box).
 Used for importing/exporting DKP, items won and sum of points.
 Do note that exporting should probably clean out the data in the system.
 Make sure it can handle adding exported data, thus just having a simple text file that is appended 
 continously can save your bacon if WoW restarts.

Graphical User Interface (complete)
 See seperate document, stored in Sarfs brain and papers.
 
 Steps:
 1. Overview and bid [Created]
  Item slot
  Current leader & bid
  Bid (only if you are not highest)
  Pass (only if you are not highest and has not passed)
 2. Admin (only available to ML who needs to be promoted or above) [Created]
  Win, 
  Clear bid, 
  Restart bid (simply clear + start bid) [Not done]
 x. Automate bidding 
  set the max # of points you want to bid for a certain item and it will keep bidding if needed)
  set this up before hand?
 y. Additional info 
  list of bidders, their class, their # of points etc.
 
 
Integration with MasterLooter thingy
 Add ML hook for "Start bidding for this item"
 Simply add a event hook so that it adds a "Send to winner" option in the ML dropdown when clicking a won item.
 Do this automatically on /dkp win X?... dunno. Needs lootbox to be open. Grr.
