onStreamOut
This event is triggered when an entity is streamed out.
Parameters
Name | Type | Description |
---|---|---|
entity | EntityManager | The entity that has been streamed out. |
Example
engine.players.events.on('onStreamOut', player => {
console.log('A player has streamed out: ' + player.id);
});
Available on: Client Server