Skip to main content

setPlayerWasmPolicy

Create or update a player-compute policy row at app_default, tier, grid, or user scope. Omitted knobs keep their current value; unitsPerHour/unitsPerDay set the PLAYER_QUOTA_EXHAUSTED budgets (null = uncapped). Every knob is additionally clamped by the app's studio compute policy at runtime, so a player policy can only tighten. Requires 'manage_compute'.

setPlayerWasmPolicy(
input: SetPlayerWasmPolicyInput!
): PlayerWasmPolicy!

Arguments

setPlayerWasmPolicy.input ● SetPlayerWasmPolicyInput! non-null input

Scope + the knobs to set.

Type

PlayerWasmPolicy object

One player-compute policy row (06 §3): developer-set per-player/cohort clamps evaluated most-specific-wins (user > grid > tier > app_default), every knob additionally clamped by the app's studio policy at runtime. Management is authoritative in P2; rows replica-sync to the game runtime.