Package-level declarations

Types

Link copied to clipboard
interface BaseNews

Base interface for news related objects.

Link copied to clipboard
@Serializable
data class EventEntry(val title: String, val description: String, val startDate: LocalDate?, val endDate: LocalDate?)

An event in the EventsSchedule.

Link copied to clipboard
@Serializable
data class EventsSchedule(val yearMonth: YearMonth, val entries: List<EventEntry>)

The event schedule, containing the events of a given month.

Link copied to clipboard
@Serializable
data class News(val id: Int, val title: String, val category: NewsCategory, val date: LocalDate, val content: String, val threadId: Int?) : BaseNews

A news article, featured article or news ticker.

Link copied to clipboard
@Serializable
data class NewsArchive(val startDate: LocalDate, val endDate: LocalDate, val types: Set<NewsType>, val categories: Set<NewsCategory>, val entries: List<NewsEntry>)

The News Archive section in Tibia.com.

Link copied to clipboard
@Serializable
data class NewsEntry(val id: Int, val title: String, val category: NewsCategory, val date: LocalDate, val type: NewsType) : BaseNews

A news entry listed in the NewsArchive.