| Line 113: |
Line 113: |
| | | | | | |
| | * '''a''' Same as '''a''' from [[#RedirectOnMasterServer]]. | | * '''a''' Same as '''a''' from [[#RedirectOnMasterServer]]. |
| | + | |} |
| | + | |
| | + | === AddBuddy === |
| | + | ''Add a friend to the friends list'' |
| | + | {|class="wikitable" |
| | + | ! Session required? |
| | + | ! Parameters |
| | + | ! Response |
| | + | |- |
| | + | | Yes |
| | + | | |
| | + | * '''l''' Friend's login. |
| | + | | |
| | + | * '''c''' ? Is present but empty when ok |
| | + | * '''v''' ? Error code, see below. |
| | + | |} |
| | + | |
| | + | List of seen error codes: |
| | + | |
| | + | {|class="wikitable" |
| | + | ! ID |
| | + | ! Meaning |
| | + | |- |
| | + | | 14 |
| | + | | Unknown username |
| | + | |- |
| | + | | 143 |
| | + | | You must wait before adding back a deleted friend. |
| | |} | | |} |
| | | | |
| Line 156: |
Line 184: |
| | | | | | |
| | ''Empty response'' | | ''Empty response'' |
| | + | |} |
| | + | |
| | + | === GetBuddies === |
| | + | ''Get friends list.'' |
| | + | {|class="wikitable" |
| | + | ! Session required? |
| | + | ! Parameters |
| | + | ! Response |
| | + | |- |
| | + | | Yes |
| | + | | |
| | + | * '''u''' Current UTC time, as YYYY:MM:DD:hh:mm:ss |
| | + | | |
| | + | ''Left to document'' |
| | + | * '''c''' Current UTC time as YYYYMMDDhhmmss |
| | + | * '''b''' ''Represents one friend, can have multiple of them'' |
| | + | ** '''a''' Friends' login |
| | + | ** '''x''' Set to 1 when friend online, 0 when offline |
| | + | ** '''y''' Set to 1 wile waiting for confirmation, 0 when accepted |
| | |} | | |} |
| | | | |
| Line 260: |
Line 307: |
| | 00CdTLu53A3ceuelum2+ui+MmASL3JjmVVOoNURvK7GCt79wLUUSbtTaZPXPr73TioZBCVkPd8chAb8 | | 00CdTLu53A3ceuelum2+ui+MmASL3JjmVVOoNURvK7GCt79wLUUSbtTaZPXPr73TioZBCVkPd8chAb8 |
| | EurZtlDp5QQvDCaoCfFJ4V8VJgM0IK0qVIHRP+D03tKgb2WOgK9QIBEQ== | | EurZtlDp5QQvDCaoCfFJ4V8VJgM0IK0qVIHRP+D03tKgb2WOgK9QIBEQ== |
| | + | |
| | + | === RemoveBuddy === |
| | + | ''Remove a friend from the friends list'' |
| | + | {|class="wikitable" |
| | + | ! Session required? |
| | + | ! Parameters |
| | + | ! Response |
| | + | |- |
| | + | | Yes |
| | + | | |
| | + | * '''b''' Friend's login. |
| | + | | |
| | + | ''Empty response'' |
| | + | |} |
| | | | |
| | === Subscribe === | | === Subscribe === |