Skip to content

sc_spawn_service_v1.player_ship_id

The ship you’re aboard, or 0.

uint64_t (*)(void)

Service index

Property Value
Symbol sc_spawn_service_v1.player_ship_id
Record ID sc-spawn-service-v1-player-ship-id
Service spawn.entities
Table sc_spawn_service_v1
Version macro SC_SPAWN_SERVICE_VERSION
Packed table version 65538
Since / availability size >= 40; 1.0
Complete member extent (x64 bytes) 40
Table size (x64 bytes) 64

Header source

uint64_t (*player_ship_id)(void);
The ship you’re aboard, or 0.

Absent table: query_service NOT_FOUND; requires spawner rows (product gate spawn.ship). Wrong thread or missing readiness: 0 or borrowed reason string. Additional failures/output state unspecified unless described in the buffer contract.

Absent table: query_service NOT_FOUND Wrong thread or missing readiness: 0 or borrowed reason string.

IDs are session values, not pointers; caller outputs. No allocation transfer; internal allocation unspecified.

Game thread only; recursive reentrancy unspecified.

unspecified

unspecified

No cancellation entrypoint; asynchronous streaming is not cancelled by this 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_spawn.h
(*player_ship_id)
cpp direct include/sc_spawn.h
(*player_ship_id)
csharp unsupported docs/sdk-csharp.md
The host-owned services each have a class.
docs/sdk-csharp.md
| Class | Service | Does |
lua unsupported sdk/docs/lua.md
The script sees only:
sdk/docs/lua.md
There is no io, os, package, require, debug, dofile, loadfile or FFI
plugins/lua/sco_lua_game.c
if (!(actors || vehicles || world || entities || creative)) return;

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

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