on_logout_requested
fun on_logout_requested(behaviour: LogoutRequested.(subject: Entity) -> Unit)LogoutRequested.(subject: Entity) -> Uniton_logout_requested { _ -> if (actor.isIn(Scenes.boss_arena)) refuse("You can't log out during the fight!")}Properties
Section titled “Properties”val actor: Actorreason
Section titled “reason”val reason: rift.components.DisconnectReasonvar held: BooleanFunctions
Section titled “Functions”fun hold()refuse
Section titled “refuse”fun refuse(message: String)