Core/Achievements: Update CriteriaType enum

Port From (https://github.com/TrinityCore/TrinityCore/commit/0a83f748766c49775d76412d2b98bb9b9dc8c4df)
This commit is contained in:
hondacrx
2021-09-09 14:49:19 -04:00
parent 7a5671ce22
commit c9b8f09fbc
51 changed files with 848 additions and 846 deletions
+4 -4
View File
@@ -137,7 +137,7 @@ namespace Game
{
if (success)
{
GetPlayer().UpdateCriteria(CriteriaTypes.WonAuctions, 1);
GetPlayer().UpdateCriteria(CriteriaType.AuctionsWon, 1);
SendAuctionCommandResult(0, AuctionCommand.PlaceBid, AuctionResult.Ok, throttle.DelayUntilNext);
}
else
@@ -435,7 +435,7 @@ namespace Game
{
if (success)
{
GetPlayer().UpdateCriteria(CriteriaTypes.HighestAuctionBid, placeBid.BidAmount);
GetPlayer().UpdateCriteria(CriteriaType.HighestAuctionBid, placeBid.BidAmount);
SendAuctionCommandResult(placeBid.AuctionID, AuctionCommand.PlaceBid, AuctionResult.Ok, throttle.DelayUntilNext);
}
else
@@ -740,7 +740,7 @@ namespace Game
{
if (success)
{
GetPlayer().UpdateCriteria(CriteriaTypes.CreateAuction, 1);
GetPlayer().UpdateCriteria(CriteriaType.ItemsPostedAtAuction, 1);
SendAuctionCommandResult(auctionId, AuctionCommand.SellItem, AuctionResult.Ok, throttle.DelayUntilNext);
}
else
@@ -886,7 +886,7 @@ namespace Game
{
if (success)
{
GetPlayer().UpdateCriteria(CriteriaTypes.CreateAuction, 1);
GetPlayer().UpdateCriteria(CriteriaType.ItemsPostedAtAuction, 1);
SendAuctionCommandResult(auctionId, AuctionCommand.SellItem, AuctionResult.Ok, throttle.DelayUntilNext);
}
else