Appearance
ItemLooted ​
GameserverMessageItemLooted · inbound · 40 bytes
Subscribe with Engine.on("ItemLooted", fn). Print the live usage block with Engine.help("ItemLooted").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("ItemLooted", function(ev)
print(ev.item_name)
end)| Name | Kind | Nested |
|---|---|---|
appearance | msg | AppearanceInstance |
item_name | str | — |