Skip to content

sco_datacore_v1.state

SCO_DC_OPEN or SCO_DC_LOADED.

uint32_t (*)(void)

Service index

Property Value
Symbol sco_datacore_v1.state
Record ID sco-datacore-v1-state
Service sco.datacore
Table sco_datacore_v1
Version macro SCO_DATACORE_VERSION_1_1
Packed table version 65537
Since / availability size >= 16; 1.0
Complete member extent (x64 bytes) 16
Table size (x64 bytes) 88

Header source

uint32_t (*state)(void);
SCO_DC_OPEN or SCO_DC_LOADED.

Returns OPEN or LOADED; no sco_result. Absent table NOT_FOUND; stopped-state value unspecified as a contract.

Absent table NOT_FOUND

Strings/values copied; host owns patches and instances; IDs, not allocations, cross the ABI. Internal allocation/failure guarantee unspecified.

Any thread; short locks, no wait for game load. Recursive/concurrent same-patch reentrancy unspecified.

unspecified

unspecified

No in-flight cancellation; discard drops open/queued patch, not applied or saved effects. Unload forgets owned patches.

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/sco_datacore.h
(*state)
cpp typed-wrapper include/scosdk/datacore.hpp
uint32_t State() const noexcept { return detail::CanCall(ref_.Get(), &sco_datacore_v1::state) ? ref_->state() : SCO_DC_LOADED; }
csharp typed-wrapper sdk/csharp/Sco.Sdk/DataCore.cs
public uint State => _t == null ? 0 : _t->state();
lua typed-wrapper plugins/lua/sco_lua_game.c
lua_pushstring(L, dc->state() == SCO_DC_OPEN ? “open” : “loaded”);

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

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