Skip to content

NPCOffer ​

GameserverMessageNPCOffer · inbound · 64 bytes

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

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

Engine.on("NPCOffer", function(ev)
  print(ev.npc_name, ev.currency_id, ev.currency_name)
end)
NameKindNested
npc_namestr—
offersrepNPCOffer
currency_idu32—
currency_namestr—

Arcane SDK catalog generated from scripts/sdk