Rewards Sample
The LI PASS reward function enables developers to incentivize players to link their LI PASS by offering in-game rewards. The two scenarios below illustrate how developers can utilize this function and its logic.
Linking rewards
The linking reward is provided to players who are linking their game account to LI PASS for the first time. As the reward logic has already been embedded into the LI PASS Account Center, the game client is only required to set extraJson
using the SetRewardExtraJson
method.
The following scenario illustrates the user journey in relation to the reward function of the baseline Account Center.
The LI PASS linking popup will appear inside Account Center, guiding the player to link to LI PASS.
The player clicks Go to open up the Link Account page, where the required imformation can be entered.
After completing the LI PASS account link, a Linked successfully popup will be shown.
The link rewards will be sent, and players can check their in-game mailboxes to receive the rewards.
First login rewards
The First login reward is for players who register for an LI PASS and successfully log into the game for the first time.
The LI PASS resources include embedded logic to determine whether a player is eligible for this reward. Developers can directly call SetRewardExtraJson
then followed by SendBindReward
after a player enters the lobby with a newly created charater. Eligible players can then check their in-game mailboxes to receive their first login reward.