GetOfferAsync
public void GetOfferAsync(
string player_uuid,
Action<int> callback
);
Description
GetOfferAsync retrieves an offer content asynchronously and saves it to the client’s database. It can be used while the game is loading.
GetOffersAsync must be called only after a certain amount of time configured in
|
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:
|