Auction and Currency API

This commit is contained in:
Kam committed 2026-01-24 15:11:38 -05:00
1 parent c8a2fb9824
commit 2e5d86993c
6 files changed
+383 -4

No files matched your search

+7
View File
@@ -19,6 +19,7 @@ import noppes.npcs.api.gui.ICustomGui;
import noppes.npcs.api.handler.IAbilityHandler;
import noppes.npcs.api.handler.IActionManager;
import noppes.npcs.api.handler.IAnimationHandler;
import noppes.npcs.api.handler.IAuctionHandler;
import noppes.npcs.api.handler.ICloneHandler;
import noppes.npcs.api.handler.ICustomEffectHandler;
import noppes.npcs.api.handler.IDialogHandler;
@@ -180,6 +181,12 @@ public abstract class AbstractNpcAPI {
public abstract ITelegraphHandler getTelegraphs();
/**
* Get the auction handler for managing auctions via scripts.
* @return The auction handler, or null if auctions are disabled
*/
public abstract IAuctionHandler getAuctions();
/**
* Create a telegraph directly.
* Convenience method equivalent to getTelegraphs().create(type).