Skip to content

sc_world_v1.free_camera_flag

*out_set = 1 when the game’s free-camera flag (the byte its own free-camera disable command tests) is non-zero, else 0. Only reads; it neither turns the free camera on nor off, and nothing pins what the flag shows on screen yet, which is why game.world.free_camera_flag is OFF. SCO_BAD_ARG: out_set is NULL. SCO_UNAVAILABLE: game.world.free_camera_flag isn’t ready. SCO_FAILED: the game faulted. *out_set is 0 on every failure.

sco_result (*)(uint32_t *)

Service index

Property Value
Symbol sc_world_v1.free_camera_flag
Record ID sc-world-v1-free-camera-flag
Service game.world
Table sc_world_v1
Version macro SC_WORLD_VERSION_1_1
Packed table version 65537
Since / availability size >= 40; 1.1
Complete member extent (x64 bytes) 40
Table size (x64 bytes) 40

Header source

sco_result (*free_camera_flag)(uint32_t* out_set);
*out_set = 1 when the game’s free-camera flag (the byte its own free-camera disable command tests) is non-zero, else 0. Only reads; it neither turns the free camera on nor off, and nothing pins what the flag shows on screen yet, which is why game.world.free_camera_flag is OFF. SCO_BAD_ARG: out_set is NULL. SCO_UNAVAILABLE: game.world.free_camera_flag isn’t ready. SCO_FAILED: the game faulted. *out_set is 0 on every failure.

Absent table: query_service NOT_FOUND; a 1.0 table: query_service UNAVAILABLE for SC_WORLD_VERSION_1_1 (or check size); game.world.free_camera_flag OFF (the default): UNAVAILABLE without a game read; NULL out_set: BAD_ARG. Other failures as in the buffer contract.

Absent table: query_service NOT_FOUND; game.world.free_camera_flag OFF: UNAVAILABLE

Caller output; nothing owned and nothing kept per plugin. No allocation crosses the boundary; internal allocation unspecified.

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

unspecified

unspecified

No cancellation entrypoint; synchronous read-only query, nothing to undo at unload.

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_world.h
(*free_camera_flag)
cpp typed-wrapper include/scosdk/game/world.hpp
const sco_result r = t_->free_camera_flag(&raw);
csharp typed-wrapper sdk/csharp/Sco.Sdk/Game/World.cs
ScoResult r = _t->free_camera_flag(&raw);
lua typed-wrapper plugins/lua/sco_lua_game.c
const sco_result r = GAME_MEMBER(w, sc_world_v1, free_camera_flag) ? w->free_camera_flag(&set) : SCO_UNAVAILABLE;

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

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