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_entities_v1.find_by_name

Debug-grade ASCII case-insensitive entity name lookup; ambiguous matches FAILED, missing NOT_FOUND, output zero on failure.

sco_result (*)(const char *, uint64_t *)

Service index

Property Value
Symbol sc_entities_v1.find_by_name
Record ID sc-entities-v1-find-by-name
Service game.entities
Table sc_entities_v1
Version macro SC_ENTITIES_VERSION_1_2
Packed table version 65538
Since / availability size >= 120; 1.2
Complete member extent (x64 bytes) 120
Table size (x64 bytes) 128

Header source

sco_result (*find_by_name)(const char* name, uint64_t* out_entity_id);
Debug-grade ASCII case-insensitive entity name lookup; ambiguous matches FAILED, missing NOT_FOUND, output zero on failure.

OK copied observation; BAD_ARG invalid name/kind/output/capacity; WRONG_THREAD; NOT_FOUND stale epoch or absent item; FAILED malformed/ambiguous provider; UNAVAILABLE unbound/stopped. Known output prefix zeroed on failure, size/tail preserved.

game.entities.lookup OFF; no native registry/name/component adapter, not run in game.

Caller-owned copied outputs; host session identities only, no native pointers or allocation across ABI.

Game thread only.

No plugin callbacks; synchronous bounded host backend.

Recursive backend entry FAILED; stop during callback invalidates output.

No retained plugin resource. Stop invalidates admission and epochs; requery session/streaming observations before use.

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_entities.h
(*find_by_name)
cpp typed-wrapper include/scosdk/game/entities.hpp
t_->find_by_name(
csharp unsupported docs/game/entities.md
1.2 tails: C# and Lua unsupported
lua unsupported docs/game/entities.md
1.2 tails: C# and Lua 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.