This page contains the protocol used on the retail version of Rayman Legends. To see the early version of this protocol used by Rayman Legends Challenges App, go to this page instead.
Methods
(1) LoadVersion
Request
This method does not take any parameters
Response
Type | Name |
---|
Sint32 | version |
String | sandboxName |
Uint32 | applicationMask |
(2) SaveLocale
Request
Response
This method does not return anything
(3) SaveProfile
Request
Type | Name |
---|
Uint32 | update_bitfield |
Sint8 | level |
Sint32 | currency |
Uint32 | costume |
Uint16 | bronze_medals |
Uint16 | silver_medals |
Uint16 | gold_medals |
Uint16 | diamond_medals |
Uint32 | run_distance |
Uint16 | kills |
Uint32 | jumps |
Uint16 | deaths |
Response
Type | Name |
---|
Uint16 | competition_medals_0 |
Uint16 | competition_medals_1 |
Uint16 | competition_medals_2 |
Uint16 | competition_medals_3 |
Bool | demoProfile |
(4) LoadIDCard
Request
Response
(5) QueryFriendProfiles
Request
Response
(6) QueryUbisoftProfiles
Request
This method does not take any parameters
Response
(7) CreateMessage
Request
Response
This method does not return anything
(8) QueryMessage
Request
This method does not take any parameters
Response
(9) QueryLeaderboard
Request
Type | Name |
---|
Uint32 | id_leaderboard |
Response
Type | Name |
---|
List<OLSLdbRow> | result |
List<Float> | graduations |
List<Uint32> | envelope |
Uint32 | unit |
Uint32 | participants |
Bool | cacheable |
(10) QuerySmartSelection
Request
Type | Name |
---|
Uint32 | id_leaderboard |
Response
(11) SaveScore
Request
Type | Name |
---|
Uint32 | id_leaderboard |
Bool | is_objective_reached |
Float | score |
Float | tomb_x |
Float | tomb_y |
Float | tomb_z |
Uint32 | id_costume |
Response
Type | Name |
---|
Bool | save_score |
Bool | retry |
Uint32 | medal |
String | message_medal |
String | message_friends |
(12) SaveScoreInvasion
Request
Type | Name |
---|
Uint32 | id_leaderboard |
Float | score |
Response
This method does not return anything
(13) SaveGhost
Request
Type | Name |
---|
Uint64 | id_ghost |
Uint32 | id_competition |
Uint32 | id_costume |
Float | score |
Response
This method does not return anything
(14) QueryCompetitionsInfos
Request
This method does not take any parameters
Response
(15) QueryCompetitionsHistory
Request
Type | Name |
---|
Uint32 | begin |
Uint32 | amount |
Uint32 | id_competition_meta |
Response
(16) QueryCompetitionOfTheDay
Request
Type | Name |
---|
Uint32 | id_competition_meta |
Response
(17) SaveLevelProgression
Request
Response
This method does not return anything
Types
Type | Name |
---|
Sint32 | PID |
String | Name |
Uint32 | costume |
Uint32 | country |
Sint8 | level |
Type | Name |
---|
Sint32 | PID |
String | Name |
Sint16 | Country |
Uint32 | StatusIcon |
Uint32 | lastCostume |
Uint16 | totalChallengePlayed |
Bool | dailyPlayed |
Bool | weeklyPlayed |
Bool | dailyExpertPlayed |
Bool | weeklyExpertPlayed |
Uint16 | DiamondMedals |
Uint16 | GoldMedals |
Uint16 | SilverMedals |
Uint16 | BronzeMedals |
Uint32 | GlobalMedalsRank |
Uint32 | GlobalMedalsMaxRank |
Float | distanceRun |
Uint32 | rank_distanceRun |
Float | lums |
Uint32 | rank_lums |
Float | deaths |
Uint32 | rank_deaths |
Float | jumps |
Uint32 | rank_jumps |
Float | kills |
Uint32 | rank_kills |
Float | stat_daily |
Uint32 | rank_daily |
Sint8 | unit_daily |
Float | stat_weekly |
Uint32 | rank_weekly |
Sint8 | unit_weekly |
Float | stat_daily_expert |
Uint32 | rank_daily_expert |
Sint8 | unit_daily_expert |
Float | stat_weekly_expert |
Uint32 | rank_weekly_expert |
Sint8 | unit_weekly_expert |
Type | Name |
---|
Sint8 | attribute_type |
Uint32 | attribute_value |
OLSCompetitionResult (Structure)
Type | Name |
---|
OLSCompetitionResult | result |
String | message |
Uint32 | seed |
Float | objective |
Float | score_validation |
Uint64 | id_bricks |
Float | score |
Float | medalThresholds_0 |
Float | medalThresholds_1 |
Float | medalThresholds_2 |
Float | medalThresholds_3 |
Type | Name |
---|
Uint32 | ID |
String | name |
Uint64 | id_ghost |
Uint32 | id_costume |
Uint32 | country |
Uint32 | level |
Uint32 | rank |
Float | score |
OLSCompetitionInfos (Structure)
Type | Name |
---|
Uint32 | id_competition |
Uint32 | participants |
List<Uint32> | friends |
Uint32 | level_id |
Uint32 | mode |
Uint32 | my_rank |
Uint32 | remaining_seconds |
List<OLSSelectionRow> | competitors |
Uint32 | unit |
Type | Name |
---|
Uint32 | ID |
String | name |
Float | value |
Uint32 | rank |
Uint32 | costume |
Uint32 | statusIcon |
Uint32 | country |
Type | Name |
---|
Sint32 | pid |
String | name |
Uint32 | id_costume |
Float | x |
Float | y |
Float | z |
Type | Name |
---|
Sint32 | pid |
Uint32 | relationship |
Type | Name |
---|
Uint32 | level_id |
Uint32 | lums_count |
Uint32 | teensies_mask |
Float | best_time |