跳至主要內容

NetworkEvents.dataReceived

芒果凍布丁2025年3月29日小於 1 分鐘

/**
 * Invoked when a network packet is received.
 * 
 * Note that the behaviour of this event is depending on the **script type**.
 * 
 * In `server_scripts`, this event is invoked on the server side when a packet is received from a client.
 * 
 * In `client_scripts`, this event is invoked on the client side when a packet is received from the server.
 */
function dataReceived(extra: string, handler: (event: $NetworkKubeEvent) => void): void
上次編輯於: 2025/3/29 上午5:04:42
貢獻者: Mango