GateOpenRequestPayload
What gateOpenRequest gets: the payload a handler receives.
Renamed in 0.28 from GateOpenPayload; see renamed names.
Definition
Section titled “Definition”type GateOpenRequestPayload = { player: PlayerSnapshot; gateType: "military" | "airport"; gateModel: number; position: Vector3; interior: number;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player at the gate. |
gateType |
"military" | "airport" |
An army base’s gate or an airport’s. |
gateModel |
number |
The gate’s model: 985 GATE_AUTOR or 986 GATE_AUTOL (military), 988 WS_APGATE (airport). |
position |
Vector3 |
Where the gate stands shut; with gateModel, which gate it is. |
interior |
number |
Its interior, 0 outside. |
Related
Section titled “Related”gateOpenRequest: the decision