XerrPopupAPI

interface XerrPopupAPI(source)

Stable popup API exposed by com.hiusers.xerr.api.XerrAPI.

Functions

Link copied to clipboard
open fun clear(playerId: UUID): CompletableFuture<Int>
open fun clear(playerId: UUID, force: Boolean): CompletableFuture<Int>
abstract fun clear(playerId: UUID, groupId: String?, popupId: String?, force: Boolean): CompletableFuture<Int>
Link copied to clipboard
abstract fun close(handle: PopupHandle, force: Boolean): CompletableFuture<Boolean>
Link copied to clipboard
abstract fun find(playerId: UUID, instanceId: UUID): CompletableFuture<PopupHandle?>
Link copied to clipboard
abstract fun ids(): Set<String>
Link copied to clipboard
open fun list(playerId: UUID): CompletableFuture<List<PopupHandle>>
abstract fun list(playerId: UUID, groupId: String?): CompletableFuture<List<PopupHandle>>
Link copied to clipboard
abstract fun renew(handle: PopupHandle): CompletableFuture<Boolean>
Link copied to clipboard
open fun show(playerId: UUID, popupId: String): CompletableFuture<PopupHandle>
open fun show(player: Player, popupId: String): CompletableFuture<PopupHandle>
abstract fun show(playerId: UUID, popupId: String, variables: Map<String, String>): CompletableFuture<PopupHandle>
abstract fun show(player: Player, popupId: String, variables: Map<String, String>): CompletableFuture<PopupHandle>
Link copied to clipboard
abstract fun update(handle: PopupHandle, variables: Map<String, String>): CompletableFuture<Boolean>