Skip to content

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)
NameKindNested
slotu32—
appearancemsgAppearanceInstance

Arcane SDK catalog generated from scripts/sdk