![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Declares the host pairing flow. More...
#include <cstdint>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| struct | app::PairingDraft |
| Controller-friendly state for a client-generated pairing PIN. More... | |
Enumerations | |
| enum class | app::PairingStage { idle , pin_ready , in_progress , paired , failed } |
| Reducer-driven stages for the manual pairing shell 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. | |
Declares the host pairing flow.
|
strong |
Reducer-driven stages for the manual pairing shell 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. |