Skip to content

Message ​

GameserverMessageMessage · inbound · 72 bytes

Subscribe with Engine.on("Message", fn). Print the live usage block with Engine.help("Message").

A specialized decoder also runs for this type and may add richer nested fields.

lua
local Engine = require("sdk.engine")

Engine.on("Message", function(ev)
  print(ev.mode, ev.item_id, ev.channel)
end)
NameKindNested
modei32—
positionmsgCoordinate
item_idu32—
channelu32—
valueu32—
coloru32—
extrau32—
textstr—

Arcane SDK catalog generated from scripts/sdk