Skip to content

sc_hangar_v1.lift_request

Asks the ship lift lift_id (an id from lift_of_landing_area) to open or close (sc_hangar_lift_op). SCO_OK means the request was handed to the game, not that the lift has moved. SCO_BAD_ARG: an id of 0, an unknown op, or the entity isn’t a ship lift. SCO_NOT_FOUND: the lift isn’t streamed in. SCO_FAILED: the game faulted. game.hangar.lift.

sco_result (*)(sco_plugin *, uint64_t, uint32_t)

Service index

Property Value
Symbol sc_hangar_v1.lift_request
Record ID sc-hangar-v1-lift-request
Service game.hangar
Table sc_hangar_v1
Version macro SC_HANGAR_SERVICE_VERSION
Packed table version 65536
Since / availability size >= 24; 1.0
Complete member extent (x64 bytes) 24
Table size (x64 bytes) 40

Header source

sco_result (*lift_request)(sco_plugin* self, uint64_t lift_id, uint32_t op);
Asks the ship lift lift_id (an id from lift_of_landing_area) to open or close (sc_hangar_lift_op). SCO_OK means the request was handed to the game, not that the lift has moved. SCO_BAD_ARG: an id of 0, an unknown op, or the entity isn’t a ship lift. SCO_NOT_FOUND: the lift isn’t streamed in. SCO_FAILED: the game faulted. game.hangar.lift.

Absent table: query_service NOT_FOUND; game.hangar.lift OFF (the default): UNAVAILABLE without an engine call; null/unknown self: BAD_ARG. Other failures as in the buffer contract.

Absent table: query_service NOT_FOUND; game.hangar.lift OFF: UNAVAILABLE

Caller outputs; nothing owned, the host keeps only your last error. No allocation transfer; internal allocation unspecified.

Game thread only (WRONG_THREAD elsewhere); last_error any thread. Recursive reentrancy unspecified.

unspecified

unspecified

No in-flight cancellation entrypoint; a lift request or ATC cancel is one call and nothing is undone at unload; your last error is forgotten on ordinary owner release.

Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.

Language Catalogue status Source evidence / wrapper tokens
c direct include/sc_hangar.h
(*lift_request)
cpp typed-wrapper include/scosdk/game/hangar.hpp
return t_->lift_request(self_, liftId, static_cast<uint32_t>(op));
csharp typed-wrapper sdk/csharp/Sco.Sdk/Game/Hangar.cs
_t->lift_request(Self, liftId, (uint)op);
lua unsupported docs/contracts.md
Lua game.hangar routes are unsupported.

None identified in the catalogue; this is not proof none can exist.

ABI pins prove layout, not semantic behavior or a live game session.