PlayerLeaveBeforeEventSignal
¶
文档版本:1.21.60.21
PlayerLeaveBeforeEventSignal
类。script_api.minecraft/server.playerleavebeforeeventsignal.description
方法¶
subscribe
script_api.minecraft/server.playerleavebeforeeventsignal.subscribe.description
callback
:(PlayerLeaveBeforeEvent) => void
- script_api.minecraft/server.playerleavebeforeeventsignal.subscribe.callback.description
- 返回值:
(PlayerLeaveBeforeEvent) => void
- script_api.minecraft/server.playerleavebeforeeventsignal.subscribe.return
unsubscribe
script_api.minecraft/server.playerleavebeforeeventsignal.unsubscribe.description
callback
:(PlayerLeaveBeforeEvent) => void
- script_api.minecraft/server.playerleavebeforeeventsignal.unsubscribe.callback.description
- 返回值:
void
- script_api.minecraft/server.playerleavebeforeeventsignal.unsubscribe.return