Appearance
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)| Name | Kind | Nested |
|---|---|---|
offer_id | u32 | — |
kind | i32 | — |
store_service_type_character_world_transfer | msg | StoreServiceTypeCharacterWorldTransfer |
possible_main_char_data | rep | PossibleMainCharData |
offer_name | str | — |