當斷開連接時

玩家
伺服器端
可在 Mobile 端和 PC 端使用
擁有者:
玩家

在玩家斷開連線時觸發

聲明

event OnDisconnect(player entity<Player>)
go

參數

名稱 類型 描述
玩家 Player 斷開連線的玩家