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.
Signature
Section titled “Signature”sco_result (*)(uint32_t *)Service and availability
Section titled “Service and availability”| 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 |
Parameters and buffers
Section titled “Parameters and buffers”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.
Results and failures
Section titled “Results and failures”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 capability
Section titled “Absent capability”Absent table: query_service NOT_FOUND; game.world.free_camera_flag OFF: UNAVAILABLE
Ownership
Section titled “Ownership”Caller output; nothing owned and nothing kept per plugin. No allocation crosses the boundary; internal allocation unspecified.
Thread affinity
Section titled “Thread affinity”Game thread only (WRONG_THREAD elsewhere); last_error any thread. Recursive reentrancy unspecified.
Callback context
Section titled “Callback context”unspecified
Reentrancy
Section titled “Reentrancy”unspecified
Cleanup and cancellation
Section titled “Cleanup and cancellation”No cancellation entrypoint; synchronous read-only query, nothing to undo at unload.
Language mappings
Section titled “Language mappings”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.hppconst sco_result r = t_->free_camera_flag(&raw); |
| csharp | typed-wrapper | sdk/csharp/Sco.Sdk/Game/World.csScoResult r = _t->free_camera_flag(&raw); |
| lua | typed-wrapper | plugins/lua/sco_lua_game.cconst sco_result r = GAME_MEMBER(w, sc_world_v1, free_camera_flag) ? w->free_camera_flag(&set) : SCO_UNAVAILABLE; |
Examples
Section titled “Examples”None identified in the catalogue; this is not proof none can exist.
- tests/abi_game_world.c
- tests/test_world_free_cam.cpp
- tests/test_language_routes.cpp
- tests/test_sdk.cpp
- tools/test.sh
- sdk/csharp/Sco.Sdk.Tests/GameFakeHost.cs
- sdk/csharp/Sco.Sdk.Tests/GameLayout.cs
- tests/test_lua.cpp
ABI pins prove layout, not semantic behavior or a live game session.