Line 156: |
Line 156: |
| | | | | |
| ''Empty response'' | | ''Empty response'' |
| + | |} |
| + | |
| + | === GetManialinkInfos === |
| + | ''Gets infos about a manialink.'' |
| + | {|class="wikitable" |
| + | ! Session required? |
| + | ! Parameters |
| + | ! Response |
| + | |- |
| + | | Yes |
| + | | |
| + | * '''manialink''' Name of the manialink |
| + | | |
| + | * '''c''' Price of the manialink |
| + | * '''l''' Player's copper amount |
| + | * '''a''' ? Set to 1 or 0 |
| + | * '''m''' Name of the manialink |
| + | * '''u''' URL of the page corresponding to the manialink |
| + | * '''t''' ? Maybe a {{wp|Time_to_live|TTL}} |
| + | * '''rl''' ''Represents distribution of amount in c. Only set when c is != 0'' |
| + | ** '''r''' ''Represents one player. At least two in rl'' |
| + | *** '''l''' Player login (nadeo for the 5% tax) |
| + | *** '''c''' Amount of copper going to the player |
| + | |} |
| + | |
| + | === GetManialinkResource === |
| + | ''Gets info about a maniacode'' |
| + | {|class="wikitable" |
| + | ! Session required? |
| + | ! Parameters |
| + | ! Response |
| + | |- |
| + | | Yes |
| + | | |
| + | * '''manialink''' Name of the maniacode |
| + | | |
| + | * '''m''' Name of the maniacode |
| + | * '''u''' URL of the page corresponding to the maniacode |
| + | |} |
| + | |
| + | === GetOnlineProfile === |
| + | ''Gets infos about the player.'' |
| + | {|class="wikitable" |
| + | ! Session required? |
| + | ! Parameters |
| + | ! Response |
| + | |- |
| + | | Yes |
| + | | |
| + | * '''dt''' ? |
| + | * '''cor''' ? |
| + | | |
| + | ''A lot is left to document here'' |
| + | * '''a''' ''General infos about the player'' |
| + | ** '''a''' Player's login |
| + | ** '''b''' Player's display name. |
| + | ** '''c''' Player's region |
| + | ** '''d''' ? Set to 0 |
| + | ** '''e''' ? Set to 0 |
| + | ** '''j''' ? |
| + | ** '''k''' ? |
| + | * '''b''' |
| + | * '''h''' ''Describes the splash screen to display after login'' |
| + | ** '''a''' Unix timestamp, current date (unknown purpose) |
| + | ** '''c''' Full '''HTTP''' URL of the manialink to display. |
| |} | | |} |
| | | |