ArenaSQLiteProvider

Functions

Link copied to clipboard
abstract fun arenaExists(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Boolean
Checks whether an arena with the specified ID exists in the database.
Link copied to clipboard
abstract fun createArena(@NotNull prefix: @NotNull String, id: String, data: String)
Saves a new arena to the database.
Link copied to clipboard
abstract fun createContainer(@NotNull prefix: @NotNull String)
Creates the container that will hold arenas in the database.
Link copied to clipboard
abstract fun deleteArena(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String)
Deletes an arena from the database
Link copied to clipboard
abstract fun getAllArenaIds(@NotNull tablePrefix: @NotNull String): List<String>
Gets a list of all arena IDs from the database.
Link copied to clipboard
abstract fun getAllArenas(@NotNull prefix: @NotNull String): List<Arena>
Gets a list of all arenas from the database.
Link copied to clipboard
abstract fun getArena(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Arena
Gets a single arena from the database by its ID.
Link copied to clipboard
abstract fun updateArena(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String, @NotNull data: @NotNull String)
Updates an arena in the database