WarpPointRepository

ワープポイントのリポジトリ。 データベースへのCRUD操作を提供します。

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun addSlots(uuid: UUID, amount: Int): RepositoryResult<Int>

プレイヤーにスロットを追加します。

Link copied to clipboard

オーナーのワープポイント数をカウントします。

Link copied to clipboard
fun createWarpPoint(ownerUuid: UUID, name: String, location: Location): RepositoryResult<WarpPointData>

ワープポイントを作成します。

Link copied to clipboard

ワープポイントを削除します。

Link copied to clipboard
fun exists(ownerUuid: UUID, name: String): Boolean

ワープポイントが存在するかチェックします。

Link copied to clipboard

オーナーの全ワープポイントを取得します。

Link copied to clipboard

オーナーと名前でワープポイントを検索します。

Link copied to clipboard

プレイヤーの追加スロット数を取得します。

Link copied to clipboard
fun getTotalSlots(uuid: UUID, defaultSlots: Int): RepositoryResult<Int>

プレイヤーの合計スロット数を取得します(デフォルト + 追加)。