Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AnnouncementEntry(val title: String, val announcementId: Int, val author: String) : BaseForumAnnouncement

An announcement listed on a ForumBoard.

Link copied to clipboard

Base interface for forum announcements.

Link copied to clipboard
@Serializable
sealed class BaseForumAuthor

Base interface for forum author classes.

Link copied to clipboard
interface BaseForumBoard

Base interface for forum boards.

Link copied to clipboard
interface BaseForumPost

Base interface for forum post related classes.

Link copied to clipboard
interface BaseForumThread

Base interface for forum related classes.

Link copied to clipboard
@Serializable
data class BoardEntry(val name: String, val boardId: Int, val description: String, val posts: Int, val threads: Int, val lastPost: LastPost?) : BaseForumBoard

A forum board listen within a ForumSection.

Link copied to clipboard
@Serializable
data class CMPost(val postId: Int, val date: Instant, val board: String, val threadTitle: String) : BaseForumPost

A post made by a Community Manager in the CMPostArchive.

Link copied to clipboard
@Serializable
data class CMPostArchive(val startDate: LocalDate, val endDate: LocalDate, val currentPage: Int, val totalPages: Int, val resultsCount: Int, val entries: List<CMPost>) : PaginatedWithUrl<CMPost>

The CM Post Archive, displaying recent posts by Community Managers.

Link copied to clipboard
@Serializable
data class ForumAnnouncement(val announcementId: Int, val title: String, val board: String, val boardId: Int, val section: String, val sectionId: Int, val author: BaseForumAuthor, val content: String, val startDate: Instant, val endDate: Instant) : BaseForumAnnouncement

An announcement in the Tibia forums.

Link copied to clipboard
@SerialName(value = "forumAuthor")
@Serializable
data class ForumAuthor(val name: String, val level: Int, val world: String, val position: String?, val title: String?, val vocation: Vocation, val guild: GuildMembershipWithTitle?, val posts: Int, val isRecentlyTraded: Boolean) : BaseForumAuthor, BaseCharacter, CharacterLevel

The author of a forum post or thread.

Link copied to clipboard
@Serializable
data class ForumBoard(val name: String, val boardId: Int, val sectionId: Int, val section: String, val threadAge: Int, val announcements: List<AnnouncementEntry>, val currentPage: Int, val totalPages: Int, val resultsCount: Int, val entries: List<ThreadEntry>) : PaginatedWithUrl<ThreadEntry> , BaseForumBoard

A board in the Tibia forums.

Link copied to clipboard
@Serializable
data class ForumEmoticon(val name: String, val url: String)

An emoticon in the forums.

Link copied to clipboard
@Serializable
data class ForumPost(val author: BaseForumAuthor, val emoticon: ForumEmoticon?, val title: String?, val content: String, val signature: String?, val postId: Int, val postedDate: Instant, val editedDate: Instant?, val editedBy: String?) : BaseForumPost

A post in a ForumThread.

Link copied to clipboard
@Serializable
data class ForumSection(val sectionId: Int, val entries: List<BoardEntry>)

A forum section on Tibia.com.

Link copied to clipboard
@Serializable
data class ForumThread(val title: String, val threadId: Int, val board: String, val boardId: Int, val section: String, val sectionId: Int, val previousTopicNumber: Int?, val nextTopicNumber: Int?, val goldenFrame: Boolean, val anchoredPost: ForumPost? = null, val currentPage: Int, val totalPages: Int, val resultsCount: Int, val entries: List<ForumPost>) : BaseForumThread, PaginatedWithUrl<ForumPost>

A thread in the Tibia forums.

Link copied to clipboard
@Serializable
data class LastPost(val author: String, val postId: Int, val date: Instant, val deleted: Boolean, val traded: Boolean) : BaseForumPost

Information about the last post in a board or thread.

Link copied to clipboard
@Serializable
data class ThreadEntry(val title: String, val threadId: Int, val author: String, val isAuthorTraded: Boolean, val isAuthorDeleted: Boolean, val emoticon: ForumEmoticon?, val replies: Int, val views: Int, val lastPost: LastPost, val status: Set<ThreadStatus>, val pages: Int, val goldenFrame: Boolean) : BaseForumThread

A thread entry in the forums.

Link copied to clipboard
@SerialName(value = "tournamentForumAuthor")
@Serializable
data class TournamentForumAuthor(val name: String, val posts: Int) : BaseForumAuthor, BaseCharacter

An author from a tournament world.

Link copied to clipboard
@Serializable
@SerialName(value = "unavailableForumAuthor")
data class UnavailableForumAuthor(val name: String, val isDeleted: Boolean, val isTraded: Boolean) : BaseForumAuthor

A forum author that is no longer available due to being deleted or having been traded.

Properties

Link copied to clipboard
const val DEFAULT_THREAD_AGE: Int = 30

The default thread age used in forums.