Uses of Enum Class
nl.minetopiasdb.api.enums.LevelChangeReason
Package
Description
Package that contains the enums used in MinetopiaSDB
Package that contains all of the player related MinetopiaSDB v2 events
Package that contains the playerdata objects
-
Uses of LevelChangeReason in nl.minetopiasdb.api.enums
Modifier and TypeMethodDescriptionstatic LevelChangeReason
Returns the enum constant of this class with the specified name.static LevelChangeReason[]
LevelChangeReason.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of LevelChangeReason in nl.minetopiasdb.api.events.player
Modifier and TypeMethodDescriptionPlayerChangeLevelEvent.getLevelChangeReason()
Get the reason why the level has changed.Modifier and TypeMethodDescriptionstatic boolean
PlayerChangeLevelEvent.setLevel(SDBPlayer target, int newLevel, LevelChangeReason changeReason)
ModifierConstructorDescriptionPlayerChangeLevelEvent(SDBPlayer player, LevelChangeReason reason, int newLevel)
-
Uses of LevelChangeReason in nl.minetopiasdb.api.playerdata.objects
Modifier and TypeMethodDescriptionvoid
OfflineSDBPlayer.setLevel(int level, LevelChangeReason reason)
Change the level of this SDBPlayer.void
OnlineSDBPlayer.setLevel(int level, LevelChangeReason reason)
Change the level of this SDBPlayer.void
SDBPlayer.setLevel(int level, LevelChangeReason reason)
Change the level of this SDBPlayer.