Package-level declarations

Types

Link copied to clipboard
@Serializable
data class AccountBadge(val name: String, val description: String, val imageUrl: String)

A displayed account badge.

Link copied to clipboard
@Serializable
data class AccountCharacter(val name: String, val world: String, val isMain: Boolean, val isOnline: Boolean, val isScheduledForDeletion: Boolean, val isRecentlyTraded: Boolean, val position: String?) : BaseCharacter

Additional character listed in a character's information.

Link copied to clipboard
@Serializable
data class AccountInformation(val createdAt: Instant, val loyaltyTitle: String?, val position: String?)

Information about an account.

Link copied to clipboard
@Serializable
data class CharacterHouse(val name: String, val houseId: Int, val town: String, val paidUntil: LocalDate, val world: String) : BaseHouse

A house owned by a character.

Link copied to clipboard
@Serializable
data class CharacterInfo(val name: String, val title: String?, val formerNames: List<String>, val unlockedTitles: Int, val sex: Sex, val vocation: Vocation, val level: Int, val achievementPoints: Int, val world: String, val formerWorld: String?, val residence: String, val marriedTo: String?, val houses: List<CharacterHouse>, val guildMembership: GuildMembership?, val lastLoginAt: Instant?, val position: String?, val comment: String?, val isPremium: Boolean, val isRecentlyTraded: Boolean, val deletionScheduledAt: Instant?, val badges: List<AccountBadge>, val achievements: List<DisplayedAchievement>, val deaths: List<Death>, val accountInformation: AccountInformation?, val otherCharacters: List<AccountCharacter>) : BaseCharacter, LevelAware

Represents the character information available on Tibia.com.

Link copied to clipboard
@Serializable
data class Death(val occurredAt: Instant, val level: Int, val killers: List<DeathParticipant>, val assists: List<DeathParticipant>)

A death by a character.

Link copied to clipboard
@Serializable
sealed interface DeathParticipant

An entity that participated in a character's death.

Link copied to clipboard
@Serializable
data class DisplayedAchievement(val name: String, val grade: Int, val isSecret: Boolean)

The achievements chosen to be displayed for a character.

Link copied to clipboard
@Serializable
data class GuildMembership(val name: String, val rank: String) : BaseGuild

The guild a character belongs to.