Skip to content

PlayerState ​

GameserverMessagePlayerState · inbound · 40 bytes

Subscribe with Engine.on("PlayerState", fn). Print the live usage block with Engine.help("PlayerState").

A specialized decoder also runs for this type and may add richer nested fields.

lua
local Engine = require("sdk.engine")

Engine.on("PlayerState", function(ev)
  print(ev.state, ev.icons)
end)
NameKindNested
stateu64—
iconsu32—

Arcane SDK catalog generated from scripts/sdk