Appearance
ItemWasted ​
GameserverMessageItemWasted · inbound · 32 bytes
Subscribe with Engine.on("ItemWasted", fn). Print the live usage block with Engine.help("ItemWasted").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("ItemWasted", function(ev)
print(ev.item_id)
end)| Name | Kind | Nested |
|---|---|---|
item_id | u32 | — |