Character

@Serializable
data class Character(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 lastLogin: Instant?, val position: String?, val comment: String?, val isPremium: Boolean, val isRecentlyTraded: Boolean, val deletionDate: Instant?, val badges: List<AccountBadge>, val achievements: List<DisplayedAchievement>, val deaths: List<Death>, val accountInformation: AccountInformation?, val otherCharacters: List<OtherCharacter>) : BaseCharacter, CharacterLevel(source)

Represents the character information available on Tibia.com.

Constructors

Link copied to clipboard
constructor(name: String, title: String?, formerNames: List<String>, unlockedTitles: Int, sex: Sex, vocation: Vocation, level: Int, achievementPoints: Int, world: String, formerWorld: String?, residence: String, marriedTo: String?, houses: List<CharacterHouse>, guildMembership: GuildMembership?, lastLogin: Instant?, position: String?, comment: String?, isPremium: Boolean, isRecentlyTraded: Boolean, deletionDate: Instant?, badges: List<AccountBadge>, achievements: List<DisplayedAchievement>, deaths: List<Death>, accountInformation: AccountInformation?, otherCharacters: List<OtherCharacter>)

Properties

Link copied to clipboard

The character's account information. Might be isHidden.

Link copied to clipboard

The total achievement points.

Link copied to clipboard

The visible achievements for the character.

Link copied to clipboard

The visible badges of the character.

Link copied to clipboard

The character's comment.

Link copied to clipboard

The recent deaths of the character.

Link copied to clipboard
val deletionDate: Instant?

The date when this character is scheduled to be deleted.

Link copied to clipboard

A list of former names the player had in the last 6 months.

Link copied to clipboard

The former world of the character. Only visible for 6 months.

Link copied to clipboard

The guild the character belongs to.

Link copied to clipboard

The list of houses currently owned by the character.

Link copied to clipboard

Whether this character is hidden or not.

Link copied to clipboard

Whether the character has a premium account.

Link copied to clipboard

Whether the character was recently traded. If its name was changed afterward, this flag is removed.

Link copied to clipboard

Whether this character is scheduled for deletion or nto.

Link copied to clipboard
val lastLogin: Instant?

The date when the character logged in the last time. If null, the character has never logged in.

Link copied to clipboard
open override val level: Int

The level of the character.

Link copied to clipboard

The name of the character this character is married to, if any.

Link copied to clipboard

URL to the character this character is married to, if any.

Link copied to clipboard
open override val name: String

The name of the character.

Link copied to clipboard

The list of visible characters in the same account. Might be isHidden.

Link copied to clipboard

The special position the character holds.

Link copied to clipboard

The current city where the character will respawn on death.

Link copied to clipboard
val sex: Sex

The sex of the character.

Link copied to clipboard

The party shared experience range of the character.

Link copied to clipboard

The title selected to be displayed.

Link copied to clipboard

The amount of titles the player has unlocked in total.

Link copied to clipboard
open val url: String

The URL to the character's information page.

Link copied to clipboard

The vocation of the character.

Link copied to clipboard

The current world of the character.