Skip to main content

updateActorState

Replaces an actor’s publicState and/or privateState blobs (fields omitted from input are left unchanged). OWNER-EXCLUSIVE: only the actor’s owner may write (throws Unauthorized otherwise). Game-plane: requires an app token for the actor’s app (a session token or another app’s token is answered NotFound). uuid is the 32-character ASCII actor id; blobs are base64-encoded binary.

updateActorState(
uuid: String!
input: UpdateActorStateInput!
): Actor!

Arguments​

updateActorState.uuid ● String! non-null scalar​

Actor id: exactly 32 ASCII characters (the UDP-wire actor id), NOT a hyphenated RFC-4122 UUID.

updateActorState.input ● UpdateActorStateInput! non-null input​

New state blobs (see UpdateActorStateInput).

Type​

Actor object​