Skip to content
Loading local search…

Try a task like “spawn a ship” or “read inventory”, or an exact API name.

Choose one category, or search all.

sc_input_v1.by_id

Copy action metadata for a numeric id in 1..count; 0 (SC_ACTION_INVALID) and ids above count are not actions.

sco_result (*)(sco_plugin *, uint32_t, sc_input_action_info *)

Service index

Property Value
Symbol sc_input_v1.by_id
Record ID sc-input-v1-by-id
Service game.input
Table sc_input_v1
Version macro SC_INPUT_SERVICE_VERSION
Packed table version 65536
Since / availability size >= 24; 1.0
Complete member extent (x64 bytes) 24
Table size (x64 bytes) 32

Header source

sco_result (*by_id)(sco_plugin* self, uint32_t id, sc_input_action_info* out);
Copy action metadata for a numeric id in 1..count; 0 (SC_ACTION_INVALID) and ids above count are not actions.

OK copied; BAD_ARG invalid self, null output or malformed input; WRONG_THREAD off the game thread; UNAVAILABLE after Stop; NOT_FOUND unknown id or name.

game.input.registry is ON while the static registry is published; this does not attest live dispatch.

Caller owns outputs; metadata is copied, and no engine pointer is returned or retained.

Game thread only; self must be live.

No plugin callbacks.

No engine calls or callbacks; read-only metadata lookup.

StopInput withdraws the service and rejects calls through a retained table.

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_input.h
(*by_id)
cpp unsupported docs/game/input.md
unsupported
csharp unsupported docs/game/input.md
unsupported
lua unsupported docs/game/input.md
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.