GachaRepository

ガチャ関連のデータベース操作を行うリポジトリ

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

アクティブなガチャイベントのみを取得

Link copied to clipboard

全てのガチャイベントを取得

Link copied to clipboard

IDでガチャイベントを取得

Link copied to clipboard

プレイヤーの天井カウントを取得

Link copied to clipboard
fun incrementPlayerPity(playerUuid: UUID, eventId: String, amount: UInt): RepositoryResult<UInt>

プレイヤーの天井カウントを増加

Link copied to clipboard
fun resetPlayerPity(playerUuid: UUID, eventId: String): RepositoryResult<Unit>

プレイヤーの天井カウントをリセット

Link copied to clipboard
fun updatePlayerPity(playerUuid: UUID, eventId: String, pullCount: UInt): RepositoryResult<Unit>

プレイヤーの天井カウントを更新

Link copied to clipboard

ガチャイベントを作成または更新