Skip to content

RequestPurchaseData ​

GameserverMessageRequestPurchaseData · inbound · 64 bytes

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

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

Engine.on("RequestPurchaseData", function(ev)
  print(ev.offer_id, ev.kind, ev.offer_name)
end)
NameKindNested
offer_idu32—
kindi32—
store_service_type_character_world_transfermsgStoreServiceTypeCharacterWorldTransfer
possible_main_char_datarepPossibleMainCharData
offer_namestr—

Arcane SDK catalog generated from scripts/sdk