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