Appearance
Container ​
GameserverMessageContainer · inbound · 104 bytes
Subscribe with Engine.on("Container", fn). Print the live usage block with Engine.help("Container").
A specialized decoder also runs for this type and may add richer nested fields.
lua
local Engine = require("sdk.engine")
Engine.on("Container", function(ev)
print(ev.container_id, ev.name, ev.capacity)
end)| Name | Kind | Nested |
|---|---|---|
container_id | u32 | — |
container_item | msg | AppearanceInstance |
name | str | — |
capacity | u32 | — |
has_parent | u8 | — |
show_search_icon | u8 | — |
is_unlocked | u8 | — |
has_pages | u8 | — |
container_size | u32 | — |
first_index | u32 | — |
items | rep | AppearanceInstance |
item_count | u32 | — |
filter_items | rep | ContainerFilterOption |
is_moveable | u8 | — |
is_holding | u8 | — |