StoredPet

data class StoredPet(val id: Identifier, var rarity: Rarity, var level: Int, var overflow: Double, val skin: Identifier? = null) : Serializable, MongoConvert<MongoOwnedPet> (source)

Constructors

Link copied to clipboard
constructor(id: Identifier, rarity: Rarity, level: Int, overflow: Double, skin: Identifier? = null)

Functions

Link copied to clipboard
fun menuItem(player: MacrocosmPlayer): ItemStack

Properties

Link copied to clipboard
Link copied to clipboard
var level: Int
Link copied to clipboard
open override val mongo: MongoOwnedPet

Gets MongoDB representation of this object

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val skin: Identifier? = null