TPStashEvent.StashOfferEvent
public int StashOfferEvent(
string player_uuid,
int offer_id,
messageStatus message_status,
[string message_detail = null]
);
Description
StashOfferEvent collects the events about the actions that a user takes to interact with an offer message delivered in in-game mails and pop-ups such as opening and closing its window and other button actions.
It returns 1 for success and -1 for failure. If -1 is returned, you can see the following message in the Unity editor console in TentuPlay debug mode:
|
Parameters
Name | Description | Required |
---|---|---|
player_uuid |
Player’s unique ID (not a character’s ID) such as Steam user ID and Google Play user ID |
Required |
offer_id |
Unique ID assigned to the offer |
Required |
message_status |
User action on an offer message such as showing, closing its window and other button actions
|
Required |
message_detail |
Unique ID of in-game contents related to an advertisement in an offer (for example, advertised in-game item, DLC product, and in-game gift card) |
Optional |