Macrocosm
0.5.2-alpha
jvm
Macrocosm
/
space.maxus.macrocosm.pets
/
StoredPet
Stored
Pet
data
class
StoredPet
(
val
id
:
Identifier
,
var
rarity
:
Rarity
,
var
level
:
Int
,
var
overflow
:
Double
,
val
skin
:
Identifier
?
=
null
)
:
Serializable
,
MongoConvert
<
MongoOwnedPet
>
(
source
)
Members
Constructors
Stored
Pet
Link copied to clipboard
constructor
(
id
:
Identifier
,
rarity
:
Rarity
,
level
:
Int
,
overflow
:
Double
,
skin
:
Identifier
?
=
null
)
Functions
menu
Item
Link copied to clipboard
fun
menuItem
(
player
:
MacrocosmPlayer
)
:
ItemStack
Properties
id
Link copied to clipboard
val
id
:
Identifier
level
Link copied to clipboard
var
level
:
Int
mongo
Link copied to clipboard
open
override
val
mongo
:
MongoOwnedPet
Gets MongoDB representation of this object
overflow
Link copied to clipboard
var
overflow
:
Double
rarity
Link copied to clipboard
var
rarity
:
Rarity
skin
Link copied to clipboard
val
skin
:
Identifier
?
=
null