Uses of Enum Class
cn.nukkit.event.player.PlayerKickEvent.Reason
-
Uses of PlayerKickEvent.Reason in cn.nukkit
Modifier and TypeMethodDescriptionboolean
Player.kick
(PlayerKickEvent.Reason reason) boolean
Player.kick
(PlayerKickEvent.Reason reason, boolean isAdmin) boolean
Player.kick
(PlayerKickEvent.Reason reason, String reasonString) boolean
Player.kick
(PlayerKickEvent.Reason reason, String reasonString, boolean isAdmin) 踢出该玩家 -
Uses of PlayerKickEvent.Reason in cn.nukkit.event.player
Modifier and TypeMethodDescriptionPlayerKickEvent.getReasonEnum()
static PlayerKickEvent.Reason
Returns the enum constant of this class with the specified name.static PlayerKickEvent.Reason[]
PlayerKickEvent.Reason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionPlayerKickEvent
(Player player, PlayerKickEvent.Reason reason, TextContainer quitMessage) PlayerKickEvent
(Player player, PlayerKickEvent.Reason reason, String quitMessage) PlayerKickEvent
(Player player, PlayerKickEvent.Reason reason, String reasonString, TextContainer quitMessage)