Core/AuctionHouse: After taking a break at the start of patch 8.3 auction house is now back in business.

Port From (https://github.com/TrinityCore/TrinityCore/commit/aced88b09bd918b0ed17b6c5e8a6048788600d9d)
This commit is contained in:
hondacrx
2020-04-29 13:52:03 -04:00
parent 8bc9cc9c55
commit 6be4414166
24 changed files with 3032 additions and 1285 deletions
+59 -11
View File
@@ -13,38 +13,86 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
*/
namespace Framework.Constants
{
public enum AuctionError
public enum AuctionResult
{
Ok = 0,
Inventory = 1,
DatabaseError = 2,
NotEnoughtMoney = 3,
NotEnoughMoney = 3,
ItemNotFound = 4,
HigherBid = 5,
BidIncrement = 7,
BidOwn = 10,
RestrictedAccount = 13
RestrictedAccountTrial = 13,
HasRestriction = 17,
AuctionHouseBusy = 18,
AuctionHouseUnavailable = 19,
CommodityPurchaseFailed = 21,
ItemHasQuote = 23
}
public enum AuctionAction
public enum AuctionCommand
{
SellItem = 0,
Cancel = 1,
PlaceBid = 2
}
public enum MailAuctionAnswers
public enum AuctionMailType
{
Outbidded = 0,
Outbid = 0,
Won = 1,
Successful = 2,
Sold = 2,
Expired = 3,
CancelledToBidder = 4,
Canceled = 5,
SalePending = 6
Removed = 4,
Cancelled = 5,
Invoice = 6
}
public enum AuctionHouseResultLimits
{
Browse = 500,
Items = 50
}
public enum AuctionHouseFilterMask
{
None = 0x0,
UncollectedOnly = 0x1,
UsableOnly = 0x2,
UpgradesOnly = 0x4,
ExactMatch = 0x8,
PoorQuality = 0x10,
CommonQuality = 0x20,
UncommonQuality = 0x40,
RareQuality = 0x80,
EpicQuality = 0x100,
LegendaryQuality = 0x200,
ArtifactQuality = 0x400,
}
public enum AuctionHouseSortOrder
{
Price = 0,
Name = 1,
Level = 2,
Bid = 3,
Buyout = 4
}
public enum AuctionHouseBrowseMode
{
Search = 0,
SpecificKeys = 1
}
public enum AuctionHouseListType
{
Commodities = 1,
Items = 2
}
}