|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
**Payload of AddonToKodiFuncTable_Game::RCOnLoginResult** More...
#include <game.h>
Public Attributes | |
| bool | success |
| True if the player was logged in. | |
| const char * | username |
Account name of the player, or NULL | |
| const char * | display_name |
Display name of the player, or NULL | |
| const char * | icon_url |
URL of the player's avatar, or NULL if the add-on has none. | |
| unsigned int | points |
| Total points earned by the player. | |
| const char * | error_message |
Reason the login failed, or NULL if it succeeded. | |
| bool | credentials_rejected |
| True if the account or token was rejected, rather than the attempt failing for some other reason. | |
**Payload of AddonToKodiFuncTable_Game::RCOnLoginResult**
| bool game_rc_login_result::credentials_rejected |
True if the account or token was rejected, rather than the attempt failing for some other reason.
Kodi drops the saved token only for this. A login that failed because RetroAchievements could not be reached leaves it alone, so an outage does not sign the player out and leave the add-on nothing to reconnect with.
| const char* game_rc_login_result::display_name |
Display name of the player, or NULL
| const char* game_rc_login_result::error_message |
Reason the login failed, or NULL if it succeeded.
| const char* game_rc_login_result::icon_url |
URL of the player's avatar, or NULL if the add-on has none.
| unsigned int game_rc_login_result::points |
Total points earned by the player.
| bool game_rc_login_result::success |
True if the player was logged in.
| const char* game_rc_login_result::username |
Account name of the player, or NULL