FunctionNotificationInput
A declarative realtime notification the function emits via Buddy AFTER its transaction commits. Players and automations (NPCs) emit identically. Fenced by delivery mode (proximity / channel membership / target).
input FunctionNotificationInput {
kind: String!
emitAs: String
args: [NotificationArgInput!]!
}
Fields
FunctionNotificationInput.kind ● String! non-null scalar
Delivery mode: 'spatial' (nearby clients) | 'channel' (channel members) | 'actor' (one target).
FunctionNotificationInput.emitAs ● String scalar
For kind 'spatial': which client downlink Buddy emits — 'server_event' (default) | 'generic_spatial' | 'actor_update'.
FunctionNotificationInput.args ● [NotificationArgInput!]! non-null input
Named argument expressions. spatial: chunk_x/chunk_y/chunk_z required (+ event_type/state/distance/decay/source_uuid); channel: channel_id/payload required (+ sender_uuid); actor: target_uuid/payload required (+ chunk_x/y/z/source_uuid).
Member Of
SeedFunctionInput input ● UpsertFunctionInput input