Switch 2: Chat services: Difference between revisions
No edit summary |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
= chat:u = | = chat:u = | ||
This is "nn::chat::IUserService". | |||
Official sw uses domains with this. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || | |||
|- | |||
| 2 || | |||
|- | |||
| 10 || | |||
|- | |||
| 11 || | |||
|- | |||
| 14 || | |||
|- | |||
| 15 || | |||
|- | |||
| 16 || | |||
|- | |||
| 20 || | |||
|- | |||
| 21 || | |||
|- | |||
| 22 || | |||
|- | |||
| 23 || | |||
|- | |||
| 40 || | |||
|- | |||
| 51 || | |||
|- | |||
| 60 || | |||
|- | |||
| 61 || | |||
|- | |||
| 70 || | |||
|- | |||
| 71 || | |||
|- | |||
| 72 || | |||
|} | |||
== Cmd0 == | |||
No input, returns an [[#IUserShimScopedObject|IUserShimScopedObject]]. | |||
== Cmd2 == | |||
No input, returns an [[#IUserLayoutCustomizationShimScopedObject|IUserLayoutCustomizationShimScopedObject]]. | |||
== IUserShimScopedObject == | |||
This is "nn::chat::IUserShimScopedObject". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 1 || | |||
|- | |||
| 2 || | |||
|- | |||
| 3 || | |||
|- | |||
| 4 || | |||
|- | |||
| 10 || | |||
|- | |||
| 11 || | |||
|- | |||
| 20 || | |||
|- | |||
| 21 || | |||
|- | |||
| 30 || | |||
|- | |||
| 31 || | |||
|- | |||
| 32 || | |||
|- | |||
| 33 || | |||
|- | |||
| 34 || | |||
|- | |||
| 35 || | |||
|- | |||
| 36 || | |||
|- | |||
| 37 || | |||
|} | |||
=== Cmd1 === | |||
No input, returns an output Event handle with EventClearMode=0. | |||
== IUserLayoutCustomizationShimScopedObject == | |||
This is "nn::chat::IUserLayoutCustomizationShimScopedObject". | |||
Official sw from BeginFullScreenWithLocalCameraAvailableSection uses cmd20 cmd10, cmd11, cmd13 (the exact cmds used depends on input). Depending on input, this may also launch the relevant applet with ForFullScreen. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#Initialize|Initialize]] | |||
|- | |||
| 1 || | |||
|- | |||
| 10 || | |||
|- | |||
| 11 || | |||
|- | |||
| 12 || EndFullScreenWithLocalCameraAvailableSection | |||
|- | |||
| 13 || | |||
|- | |||
| 20 || | |||
|} | |||
=== Initialize === | |||
=== Cmd1 === | |||
No input, returns an output Event handle with EventClearMode=0. | |||
Used by official sw immediately after [[#Initialize|Initialize]]. | |||
= chat:ps = | = chat:ps = | ||
Revision as of 20:26, 9 April 2026
These services are S2-only.
chat:a
chat:u
This is "nn::chat::IUserService".
Official sw uses domains with this.
| Cmd | Name |
|---|---|
| 0 | |
| 2 | |
| 10 | |
| 11 | |
| 14 | |
| 15 | |
| 16 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
| 40 | |
| 51 | |
| 60 | |
| 61 | |
| 70 | |
| 71 | |
| 72 |
Cmd0
No input, returns an IUserShimScopedObject.
Cmd2
No input, returns an IUserLayoutCustomizationShimScopedObject.
IUserShimScopedObject
This is "nn::chat::IUserShimScopedObject".
| Cmd | Name |
|---|---|
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 10 | |
| 11 | |
| 20 | |
| 21 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | |
| 35 | |
| 36 | |
| 37 |
Cmd1
No input, returns an output Event handle with EventClearMode=0.
IUserLayoutCustomizationShimScopedObject
This is "nn::chat::IUserLayoutCustomizationShimScopedObject".
Official sw from BeginFullScreenWithLocalCameraAvailableSection uses cmd20 cmd10, cmd11, cmd13 (the exact cmds used depends on input). Depending on input, this may also launch the relevant applet with ForFullScreen.
| Cmd | Name |
|---|---|
| 0 | Initialize |
| 1 | |
| 10 | |
| 11 | |
| 12 | EndFullScreenWithLocalCameraAvailableSection |
| 13 | |
| 20 |
Initialize
Cmd1
No input, returns an output Event handle with EventClearMode=0.
Used by official sw immediately after Initialize.
chat:ps
chat:sp
chat:dbg
chat:wu
This is "nn::chat::IWebUserService".
| Cmd | Name |
|---|---|
| 1 |
Cmd1
No input. Returns an IWebUserShimScopedObject.
IWebUserShimScopedObject
This is "nn::chat::IWebUserShimScopedObject".
| Cmd | Name |
|---|---|
| 1 | |
| 2 | |
| 3 |
Cmd0
No input, returns an output u8.
Cmd1
No input, returns an output Event handle with EventClearMode=0.
Cmd2
No input, returns an output u32.