gameModelSetProperty
Set a single property value on a container directly (outside a function). Allowed only when the property's writability (function | owner | admin) permits the caller. The value is JSON-encoded and coerced to the property's value type. Requires a valid token. For game-logic changes prefer gameModelInvoke.
gameModelSetProperty(
input: SetContainerPropertyInput!
): GmContainer!
Arguments
gameModelSetProperty.input ● SetContainerPropertyInput! non-null input
The app, container id, property key, value type, and JSON-encoded value.
Type
GmContainer object
A container: a runtime instance of a container type (optionally scoped to a session).