![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Implements the host pairing flow. More...
Functions | |
| PairingDraft | app::create_pairing_draft (std::string_view targetAddress, uint16_t targetPort, std::string generatedPin) |
| Create a fresh pairing draft for the provided host. | |
| bool | app::is_valid_pairing_pin (std::string_view pin) |
| Return whether a PIN string is a valid Moonlight-style four-digit PIN. | |
Implements the host pairing flow.
| PairingDraft app::create_pairing_draft | ( | std::string_view | targetAddress, |
| uint16_t | targetPort, | ||
| std::string | generatedPin ) |
Create a fresh pairing draft for the provided host.
| targetAddress | Host address being paired. |
| targetPort | Effective host port being paired. |
| generatedPin | Client-generated PIN to show to the user. |
| bool app::is_valid_pairing_pin | ( | std::string_view | pin | ) |
Return whether a PIN string is a valid Moonlight-style four-digit PIN.
| pin | Candidate PIN string. |