Skip to content

sc_creative_v1.state

out_flags = the sc_creative_flag bits that are on. SCO_UNAVAILABLE only when none of the four capabilities is ready.

sco_result (*)(sco_plugin *, uint32_t *)

Service index

Property Value
Symbol sc_creative_v1.state
Record ID sc-creative-v1-state
Service game.creative
Table sc_creative_v1
Version macro SC_CREATIVE_SERVICE_VERSION
Packed table version 65536
Since / availability size >= 56; 1.0
Complete member extent (x64 bytes) 56
Table size (x64 bytes) 64

Header source

sco_result (*state)(sco_plugin* self, uint32_t* out_flags);
out_flags = the sc_creative_flag bits that are on. SCO_UNAVAILABLE only when none of the four capabilities is ready.

Absent table: query_service NOT_FOUND; missing feature capability: UNAVAILABLE; null/unknown self: BAD_ARG; released-handle refusal unspecified. Additional failures/output state unspecified unless described in the buffer contract.

Absent table: query_service NOT_FOUND

Caller outputs; host owns toggle state. No allocation transfer; internal allocation unspecified.

Game thread only (WRONG_THREAD elsewhere); last_error any thread. Recursive reentrancy unspecified.

unspecified

unspecified

No in-flight cancellation entrypoint; owned toggles switched off and speed restored on ordinary unload/non-retained crash cleanup. Retained-provider faults skip owner resource-release hooks and require restart; backing resources remain retained, not safe for cached calls.

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_creative.h
(*state)
cpp typed-wrapper include/scosdk/game/creative.hpp
return detail::CanCall(ref_.Get(), &sc_creative_v1::state) ? ref_->state(self_, &flags) : SCO_UNAVAILABLE;
csharp typed-wrapper sdk/csharp/Sco.Sdk/Game/Creative.cs
ScoResult r = _t == null || _t->size < (uint)((byte*)&_t->state - (byte*)_t + sizeof(nint)) || _t->state == null ? ScoResult.Unavailable : _t->state(Self, &f);
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.