Skip to content

ResourceBalance ​

GameserverMessageResourceBalance · inbound · 40 bytes

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

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

Engine.on("ResourceBalance", function(ev)
  print(ev.type, ev.balance, ev.amount)
end)
NameKindNested
typei32—
balanceu64—
amountu32—

Arcane SDK catalog generated from scripts/sdk