Skip to main content

SingleActorMessageNotification

Notification received when another actor sends you a direct actor-to-actor message (SINGLE_ACTOR_MESSAGE). Delivered only to the targeted actor via the udpNotifications subscription.

type SingleActorMessageNotification {
appId: BigInt!
chunkX: BigInt!
chunkY: BigInt!
chunkZ: BigInt!
uuid: String!
payload: String!
sequenceNumber: Int!
epochMillis: BigInt!
}

Fields​

SingleActorMessageNotification.appId ● BigInt! non-null scalar​

The ID of the app the message was sent within.

SingleActorMessageNotification.chunkX ● BigInt! non-null scalar​

The X coordinate of the destination chunk.

SingleActorMessageNotification.chunkY ● BigInt! non-null scalar​

The Y coordinate of the destination chunk.

SingleActorMessageNotification.chunkZ ● BigInt! non-null scalar​

The Z coordinate of the destination chunk.

SingleActorMessageNotification.uuid ● String! non-null scalar​

The destination actor’s UUID (your own actor’s UUID, echoed from the message).

SingleActorMessageNotification.payload ● String! non-null scalar​

The message payload, base64-encoded. Opaque to the server; decode per your application protocol.

SingleActorMessageNotification.sequenceNumber ● Int! non-null scalar​

The sender's sequence number for this message (0-255).

SingleActorMessageNotification.epochMillis ● BigInt! non-null scalar​

Server-generated epoch milliseconds timestamp.

Implemented By​

UdpNotification union