Skip to content

Commit

Permalink
Merge pull request #26 from DaniElectra/fixes-3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbarrow authored May 18, 2024
2 parents b089b3c + 8fe2bfd commit 09f8c71
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
6 changes: 4 additions & 2 deletions docs/nex/protocols/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ title: Ticket Granting (10)

This is the only protocol that's available on the authentication server. Other protocols are only available on the secure server.

If a server is in maintenance, the `%retval%` result fields are set to `Authentication::UnderMaintenance` and the other fields of the response are left with empty values.

## Methods

| Method ID | Name (3DS / Wii U) | Name (Switch) |
Expand All @@ -20,7 +22,7 @@ This is the only protocol that's available on the authentication server. Other p
### (1) Login
Usernames are not case sensitive.

If the username does not exist, the `%retval%` field is set to `RendezVous::InvalidUsername` and the other fields are left blank.
If the username does not exist, the `%retval%` field is set to `RendezVous::InvalidUsername` and the other fields are left with empty values.

#### Request

Expand Down Expand Up @@ -49,7 +51,7 @@ Examples of server build names:
### (2) LoginEx
Usernames are not case sensitive.

If the username does not exist, the `%retval%` field is set to `RendezVous::InvalidUsername` and the other fields are left blank.
If the username does not exist, the `%retval%` field is set to `RendezVous::InvalidUsername` and the other fields are left with empty values.

Wii U servers don't seem to check what's in the extra data.

Expand Down
21 changes: 15 additions & 6 deletions docs/nex/protocols/friends-3ds.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,12 +449,21 @@ Relationship types:
> This structure [inherits](/docs/nex/types#structure-inheritance) from [Data]
{: .prompt-info }

| Type | Description |
| -------- | ----------- |
| [String] | Name |
| Bool | Unknown |
| Uint8 | Unknown |
| [Buffer] | Mii data |
| Type | Description |
| -------- | -------------- |
| [String] | Name |
| Bool | Profanity flag |
| Uint8 | Character set |
| [Buffer] | Mii data |

Character sets:

| Value | Description |
|-------|-----------------|
| 0 | JPN + USA + EUR |
| 1 | CHN |
| 2 | KOR |
| 3 | TWN |

### MiiList ([Structure])
> This structure [inherits](/docs/nex/types#structure-inheritance) from [Data]
Expand Down

0 comments on commit 09f8c71

Please sign in to comment.