sc_contracts_v1.stream_radius
*out_radius = the mission stream radius the game’s mission settings hold (a 32-bit float, in the game’s own units). SCO_BAD_ARG: out_radius NULL. SCO_NOT_FOUND: the mission settings aren’t loaded yet. SCO_FAILED: the game faulted. game.contracts.stream_radius.
Signature
Section titled “Signature”sco_result (*)(sco_plugin *, float *)Service and availability
Section titled “Service and availability”| Property | Value |
|---|---|
| Symbol | sc_contracts_v1.stream_radius |
| Record ID | sc-contracts-v1-stream-radius |
| Service | game.contracts |
| Table | sc_contracts_v1 |
| Version macro | SC_CONTRACTS_SERVICE_VERSION |
| Packed table version | 65536 |
| Since / availability | size >= 16; 1.0 |
| Complete member extent (x64 bytes) | 16 |
| Table size (x64 bytes) | 24 |
Parameters and buffers
Section titled “Parameters and buffers”sco_result (*stream_radius)(sco_plugin* self, float* out_radius);
*out_radius = the mission stream radius the game’s mission settings hold (a 32-bit float, in the game’s own units). SCO_BAD_ARG: out_radius NULL. SCO_NOT_FOUND: the mission settings aren’t loaded yet. SCO_FAILED: the game faulted. game.contracts.stream_radius.
Results and failures
Section titled “Results and failures”Absent table: query_service NOT_FOUND; game.contracts.stream_radius OFF (the default): UNAVAILABLE without an engine call; null/unknown self: BAD_ARG. Other failures as in the buffer contract.
Absent capability
Section titled “Absent capability”Absent table: query_service NOT_FOUND; game.contracts.stream_radius OFF: UNAVAILABLE
Ownership
Section titled “Ownership”Caller outputs; nothing owned, the host keeps only your last error. No allocation transfer; 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 in-flight cancellation entrypoint; the function is a read and nothing is undone at unload; your last error is forgotten on ordinary owner release.
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_contracts.h(*stream_radius) |
| cpp | unsupported | docs/contracts.mdC++, C# and Lua game.contracts routes are unsupported. |
| csharp | unsupported | docs/contracts.mdC++, C# and Lua game.contracts routes are unsupported. |
| lua | unsupported | docs/contracts.mdC++, C# and Lua game.contracts routes are unsupported. |
Examples
Section titled “Examples”None identified in the catalogue; this is not proof none can exist.
ABI pins prove layout, not semantic behavior or a live game session.