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