Skip to content

sc_economy_v1.balance

Read the admitted offline local wallet as an integer in [0,1000000000000). No accounts or online balances; caller-sized output record is preserved.

sco_result (*)(sco_plugin *, sc_economy_balance *)

Service index

Property Value
Symbol sc_economy_v1.balance
Record ID sc-economy-v1-balance
Service game.economy
Table sc_economy_v1
Version macro SC_ECONOMY_SERVICE_VERSION
Packed table version 65536
Since / availability size >= 16; 1.0
Complete member extent (x64 bytes) 16
Table size (x64 bytes) 32

Header source

sco_result (*balance)(sco_plugin* self, sc_economy_balance* out);
Read the admitted offline local wallet as an integer in [0,1000000000000). No accounts or online balances; caller-sized output record is preserved.

OK on success; BAD_ARG invalid/short input or released handle; UNAVAILABLE absent backend/unsafe admission; NOT_FOUND unknown IDs; TOO_MANY bounded quota; FAILED refused progression/provider failure; CRASHED latches restart required. Outputs untouched on failure.

Missing table: query_service NOT_FOUND; absent method/backend or unsafe admission: UNAVAILABLE.

Caller-owned copied buffers; no allocation transfer. Mutations scoped to live plugin and current offline session.

Game thread only; WRONG_THREAD before backend access.

Backend callbacks synchronous on game thread; pointers valid only during call.

Recursive calls and Stop/replacement during callbacks refused (FAILED).

Consumers unload before Stop. Released owners lose mutation authority. No automatic persistence or replay of uncertain effects. Native faults permanently close admission until process restart.

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_economy.h
(*balance)
cpp direct include/sc_economy.h
(*balance)
csharp unsupported docs/design/offline-missions.md
C# and Lua bindings are unsupported
lua unsupported docs/design/offline-missions.md
C# and Lua bindings are unsupported

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

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