CompassStorageRegistration

Plugin-scoped target API returned by XerrCompassAPI.registerStorage. Target IDs passed here are local IDs; Xerr adds the registration owner namespace internally.

Properties

Link copied to clipboard
abstract val owner: String

Functions

Link copied to clipboard
abstract fun clearTargets(playerId: UUID, compassId: String): CompletableFuture<Void>
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
abstract fun flush(playerId: UUID): CompletableFuture<Void>
Link copied to clipboard
Link copied to clipboard
abstract fun listTargets(playerId: UUID, compassId: String): CompletableFuture<List<CompassTargetInfo>>
Link copied to clipboard
abstract fun ready(playerId: UUID): CompletableFuture<Void>
Link copied to clipboard
abstract fun removeTarget(playerId: UUID, compassId: String, targetId: String): CompletableFuture<Void>
Link copied to clipboard
abstract fun replaceTargets(playerId: UUID, compassId: String, targets: List<CompassTarget>): CompletableFuture<Int>
Link copied to clipboard
abstract fun setTarget(playerId: UUID, compassId: String, target: CompassTarget): CompletableFuture<CompassTarget>