From f4ae1dafebdf7521db8cf8f6e3025b53b74644de Mon Sep 17 00:00:00 2001 From: Kiran Hart Date: Fri, 18 Nov 2022 16:45:57 -0500 Subject: [PATCH] create listing result Took 46 minutes --- .../auctionhouse/ahv3/api/ListingResult.java | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/main/java/ca/tweetzy/auctionhouse/ahv3/api/ListingResult.java diff --git a/src/main/java/ca/tweetzy/auctionhouse/ahv3/api/ListingResult.java b/src/main/java/ca/tweetzy/auctionhouse/ahv3/api/ListingResult.java new file mode 100644 index 0000000..3bbbefe --- /dev/null +++ b/src/main/java/ca/tweetzy/auctionhouse/ahv3/api/ListingResult.java @@ -0,0 +1,37 @@ +/* + * Auction House + * Copyright 2022 Kiran Hart + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package ca.tweetzy.auctionhouse.ahv3.api; + +public enum ListingResult { + + SUCCESS, + CANCELED_CONFIRMATION, + + CANNOT_PAY_LISTING_FEE, + LISTING_LIMIT_REACHED, + CANNOT_LIST_WITH_MCMMO_ABILITY_ACTIVE, + PLAYER_INSTANCE_NOT_FOUND, + + CANNOT_SELL_REPAIRED_ITEM, + CANNOT_SELL_DAMAGED_ITEM, + CANNOT_SELL_BUNDLE_ITEM, + + UNKNOWN, + +}