Skip to content

five-on-it / apps/client/src/ui/studio/missions / withStart

Function: withStart() ​

withStart(game, mission, on, patch?): MissionJson

Defined in: apps/client/src/ui/studio/missions.ts:251

A mission with its start of a kind: joining (the default, so none written), a zone (the game's first, unless it named one), a contact's message or call (the mission's first contact, unless it named one); a text kept for a message or a call.

Parameters ​

game ​

GameJson

mission ​

MissionJson

on ​

"join" | "message" | "call" | "enter"

patch? ​

Partial<Omit<StartJson, "on">> = {}

Returns ​

MissionJson