Skip to content

five-on-it / apps/server/src/mission-host / MissionHostHooks

Interface: MissionHostHooks ​

Defined in: apps/server/src/mission-host.ts:357

What a room does for its missions that it alone can.

Properties ​

sendBack? ​

optional sendBack?: (client, at) => void

Defined in: apps/server/src/mission-host.ts:363

Sends a run's caught player back alive (a respawn command), as the room places its players (at the wheel at their team's spawn); without it, on foot where a death would bring them back.

Parameters ​

client ​

number

at ​

{ x: number; y: number | undefined; yaw: number; z: number; } | undefined

Returns ​

void