当断开连接时

玩家
服务端
Both Mobile and PC
可触发:
玩家实体组件

在玩家断开连接时触发

声明

event OnDisconnect(player entity<Player>)
go

参数

名称 类型 描述
玩家 Player 断开连接的玩家