Skip to main content

CreateActorInput

No description

input CreateActorInput {
appId: BigInt!
avatarId: BigInt
uuid: String!
chunk: ChunkCoordinatesInput!
privateState: String
publicState: String
}

Fields​

CreateActorInput.appId ● BigInt! non-null scalar​

App (game) the actor belongs to. Required. BigInt sent as a decimal string.

CreateActorInput.avatarId ● BigInt scalar​

Optional avatar to attach; if provided it must be owned by the caller. BigInt sent as a decimal string.

CreateActorInput.uuid ● String! non-null scalar​

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

CreateActorInput.chunk ● ChunkCoordinatesInput! non-null input​

Initial chunk-grid coordinates (x, y, z as int64 BigInt decimal strings). Required.

CreateActorInput.privateState ● String scalar​

Optional owner-only private state blob, base64-encoded binary.

CreateActorInput.publicState ● String scalar​

Optional public state blob, base64-encoded binary.

Member Of​

createActor mutation