Appearance
Talk ​
GameserverMessageTalk · inbound · 72 bytes
Subscribe with Engine.on("Talk", fn). Print the live usage block with Engine.help("Talk").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("Talk", function(ev)
print(ev.mode, ev.speaker, ev.channel)
end)| Name | Kind | Nested |
|---|---|---|
mode | u32 | — |
speaker | str | — |
channel | u32 | — |
level | i32 | — |
position | msg | Coordinate |
creature_id | u32 | — |
text | str | — |
is_npc_reply | u8 | — |