sc_hangar_v1.lift_of_landing_area
*out_lift_id = the entity id of the ship lift that serves the landing area landing_area_id: the lift whose name matches the landing area’s and that is in the landing area’s zone. SCO_BAD_ARG: an id of 0, out_lift_id NULL, or the entity isn’t a landing area. SCO_NOT_FOUND: the landing area isn’t streamed in, or no lift goes with it. SCO_FAILED: the game faulted. game.hangar.lift.
Signature
Section titled “Signature”sco_result (*)(sco_plugin *, uint64_t, uint64_t *)Service and availability
Section titled “Service and availability”| Property | Value |
|---|---|
| Symbol | sc_hangar_v1.lift_of_landing_area |
| Record ID | sc-hangar-v1-lift-of-landing-area |
| Service | game.hangar |
| Table | sc_hangar_v1 |
| Version macro | SC_HANGAR_SERVICE_VERSION |
| Packed table version | 65536 |
| Since / availability | size >= 16; 1.0 |
| Complete member extent (x64 bytes) | 16 |
| Table size (x64 bytes) | 40 |
Parameters and buffers
Section titled “Parameters and buffers”sco_result (*lift_of_landing_area)(sco_plugin* self, uint64_t landing_area_id, uint64_t* out_lift_id);
*out_lift_id = the entity id of the ship lift that serves the landing area landing_area_id: the lift whose name matches the landing area’s and that is in the landing area’s zone. SCO_BAD_ARG: an id of 0, out_lift_id NULL, or the entity isn’t a landing area. SCO_NOT_FOUND: the landing area isn’t streamed in, or no lift goes with it. SCO_FAILED: the game faulted. game.hangar.lift.
Results and failures
Section titled “Results and failures”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 capability
Section titled “Absent capability”Absent table: query_service NOT_FOUND; game.hangar.lift OFF: UNAVAILABLE
Ownership
Section titled “Ownership”Caller outputs; nothing owned, the host keeps only your last error. No allocation transfer; internal allocation unspecified.
Thread affinity
Section titled “Thread affinity”Game thread only (WRONG_THREAD elsewhere); last_error any thread. Recursive reentrancy unspecified.
Callback context
Section titled “Callback context”unspecified
Reentrancy
Section titled “Reentrancy”unspecified
Cleanup and cancellation
Section titled “Cleanup and cancellation”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.
Language mappings
Section titled “Language mappings”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_of_landing_area) |
| cpp | typed-wrapper | include/scosdk/game/hangar.hppreturn t_->lift_of_landing_area(self_, landingAreaId, &lift); |
| csharp | typed-wrapper | sdk/csharp/Sco.Sdk/Game/Hangar.cs_t->lift_of_landing_area(Self, landingAreaId, &l); |
| lua | unsupported | docs/contracts.mdLua game.hangar routes are unsupported. |
Examples
Section titled “Examples”None identified in the catalogue; this is not proof none can exist.
- tests/abi_game_hangar.c
- tests/test_hangar.cpp
- tests/test_language_routes.cpp
- tests/test_sdk.cpp
- tools/test.sh
- sdk/csharp/Sco.Sdk.Tests/GameFakeHost.cs
- sdk/csharp/Sco.Sdk.Tests/GameLayout.cs
ABI pins prove layout, not semantic behavior or a live game session.