Home docs nex protocols OLS Storage (200)
Post

OLS Storage (200)

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

TypeName
Sint32version
StringsandboxName
Uint32applicationMask

(2) SaveLocale

Request

TypeName
StringlocaleCode
StringplayerName

Response

This method does not return anything

(3) SaveProfile

Request

TypeName
Uint32update_bitfield
Sint8level
Sint32currency
Uint32costume
Uint16bronze_medals
Uint16silver_medals
Uint16gold_medals
Uint16diamond_medals
Uint32run_distance
Uint16kills
Uint32jumps
Uint16deaths

Response

TypeName
Uint16competition_medals_0
Uint16competition_medals_1
Uint16competition_medals_2
Uint16competition_medals_3
BooldemoProfile

(4) LoadIDCard

Request

TypeName
PIDpid

Response

TypeName
OLSRichProfileprofile

(5) QueryFriendProfiles

Request

TypeName
List<OLSFriend>friends

Response

TypeName
List<OLSProfile>profiles

(6) QueryUbisoftProfiles

Request

This method does not take any parameters

Response

TypeName
List<OLSProfile>profiles

(7) CreateMessage

Request

TypeName
Uint32message_type
List<Sint32>receivers
List<OLSAttribute>attributes

Response

This method does not return anything

(8) QueryMessage

Request

This method does not take any parameters

Response

TypeName
List<OLSMessage>messages

(9) QueryLeaderboard

Request

TypeName
Uint32id_leaderboard

Response

TypeName
List<OLSLdbRow>result
List<Float>graduations
List<Uint32>envelope
Uint32unit
Uint32participants
Boolcacheable

(10) QuerySmartSelection

Request

TypeName
Uint32id_leaderboard

Response

TypeName
List<OLSSelectionRow>ghosts
List<OLSTomb>tombs
Uint32numParticipants

(11) SaveScore

Request

TypeName
Uint32id_leaderboard
Boolis_objective_reached
Floatscore
Floattomb_x
Floattomb_y
Floattomb_z
Uint32id_costume

Response

TypeName
Boolsave_score
Boolretry
Uint32medal
Stringmessage_medal
Stringmessage_friends

(12) SaveScoreInvasion

Request

TypeName
Uint32id_leaderboard
Floatscore

Response

This method does not return anything

(13) SaveGhost

Request

TypeName
Uint64id_ghost
Uint32id_competition
Uint32id_costume
Floatscore

Response

This method does not return anything

(14) QueryCompetitionsInfos

Request

This method does not take any parameters

Response

(15) QueryCompetitionsHistory

Request

TypeName
Uint32begin
Uint32amount
Uint32id_competition_meta

Response

TypeName
List<OLSCompetitionResult>history
Uint32total

(16) QueryCompetitionOfTheDay

Request

TypeName
Uint32id_competition_meta

Response

TypeName
OLSCompetitioncompetition
Uint32remaningSeconds
List<OLSLdbRow>friendsRanking

(17) SaveLevelProgression

Request

TypeName
List<OLSLevel>levels

Response

This method does not return anything

Types

OLSProfile (Structure)

TypeName
Sint32PID
StringName
Uint32costume
Uint32country
Sint8level

OLSRichProfile (Structure)

TypeName
Sint32PID
StringName
Sint16Country
Uint32StatusIcon
Uint32lastCostume
Uint16totalChallengePlayed
BooldailyPlayed
BoolweeklyPlayed
BooldailyExpertPlayed
BoolweeklyExpertPlayed
Uint16DiamondMedals
Uint16GoldMedals
Uint16SilverMedals
Uint16BronzeMedals
Uint32GlobalMedalsRank
Uint32GlobalMedalsMaxRank
FloatdistanceRun
Uint32rank_distanceRun
Floatlums
Uint32rank_lums
Floatdeaths
Uint32rank_deaths
Floatjumps
Uint32rank_jumps
Floatkills
Uint32rank_kills
Floatstat_daily
Uint32rank_daily
Sint8unit_daily
Floatstat_weekly
Uint32rank_weekly
Sint8unit_weekly
Floatstat_daily_expert
Uint32rank_daily_expert
Sint8unit_daily_expert
Floatstat_weekly_expert
Uint32rank_weekly_expert
Sint8unit_weekly_expert

OLSAttribute (Structure)

TypeName
Sint8attribute_type
Uint32attribute_value

OLSMessage (Structure)

TypeName
Sint8message_type
Boolmessage_prompt
Boolmessage_drc
Boolmessage_bloomberg
DateTimemessage_date
Uint32message_duration
Stringmessage_title
Stringmessage_body
List<String>message_buttons
List<OLSAttribute>message_attributes

OLSCompetitionResult (Structure)

TypeName
Uint32id_leaderboard
Stringname
DateTimebegin
DateTimeend
Uint32level
Uint32mode
Uint32rank
Uint32max_rank

OLSCompetition (Structure)

TypeName
OLSCompetitionResultresult
Stringmessage
Uint32seed
Floatobjective
Floatscore_validation
Uint64id_bricks
Floatscore
FloatmedalThresholds_0
FloatmedalThresholds_1
FloatmedalThresholds_2
FloatmedalThresholds_3

OLSSelectionRow (Structure)

TypeName
Uint32ID
Stringname
Uint64id_ghost
Uint32id_costume
Uint32country
Uint32level
Uint32rank
Floatscore

OLSCompetitionInfos (Structure)

TypeName
Uint32id_competition
Uint32participants
List<Uint32>friends
Uint32level_id
Uint32mode
Uint32my_rank
Uint32remaining_seconds
List<OLSSelectionRow>competitors
Uint32unit

OLSLdbRow (Structure)

TypeName
Uint32ID
Stringname
Floatvalue
Uint32rank
Uint32costume
Uint32statusIcon
Uint32country

OLSTomb (Structure)

TypeName
Sint32pid
Stringname
Uint32id_costume
Floatx
Floaty
Floatz

OLSFriend (Structure)

TypeName
Sint32pid
Uint32relationship

OLSLevel (Structure)

TypeName
Uint32level_id
Uint32lums_count
Uint32teensies_mask
Floatbest_time
Contents