QUDOUser
Class in QUDOSDK
Properties
The user's account name
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The list of unlocked achievements from this user
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Wallet balance from this user
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The user's display name
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
Does this user have a display name?
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The list of highscores from this user
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Is the user running on offline mode?
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
The list of increases from this user
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
The pending reward that the user can grab
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The list of products that this user currently owns
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Get the user's profile image
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
Get the user's QRCode image
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
The Balance in a formated string
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The Pending Reward in a formated string
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
The transaction history from this user
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|
The user's username
Example
1 2 3 4 5 6 7 8 9 10 11 |
|
Methods
This function is used for in-app purchases, all products need to be registered on the QUDO dashboard
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Check the value of a certain highscore alias
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Reward the player with an achievement
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Check if the user has a specific achievement from the current game
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Execute a logout to the current logged in user
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
Opens this user's history page
Example
1 2 3 4 5 6 7 8 |
|
Opens this user's profile page
Example
1 2 3 4 5 6 7 8 |
|
Opens this user's wallet page
Example
1 2 3 4 5 6 7 8 |
|
Tries to get an achievement from the player's data with a certain alias
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Tries to get an highscore from the player's data with a certain alias
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
This function is used as a general purpose QUDO send command, with it you can request the user to send QUDO to someone else
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Submit an highscore for this player
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
Static Events
Event executed when any user logs in
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
Event executed when any user logs out
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
Events
Event triggered when the user receives an achievement
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user receives an highscore
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user claims the pending reward
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user receives pending reward, this event will return the float value of the QUDO received
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user receives QUDO
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user is logged out
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Event triggered when the user losts the connection to the QUDO Server
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user regains the connection to the QUDO Server
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user expires
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Event triggered when the user is updated. Use this to update information of the user in your game
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|