mirror of
https://forge.banditvault.co.uk/racoon/MinecraftConsoles.git
synced 2026-06-21 01:55:34 +00:00
- Implement UIScene_LceLive class for managing the LceLive UI components. - Create Windows64_LceLive.cpp and Windows64_LceLive.h for handling LceLive authentication and device linking. - Introduce a Python script for repacking MediaWindows64.arc archives with overlay support. - Enhance error handling and session management for LceLive interactions. - Add methods for reading and writing UTF-8 strings in the archive format. - Implement functionality to apply overlays to existing archive entries.
40 lines
605 B
C++
40 lines
605 B
C++
#pragma once
|
|
|
|
#ifdef _WINDOWS64
|
|
|
|
#include <string>
|
|
|
|
namespace Win64LceLive
|
|
{
|
|
enum class EClientState
|
|
{
|
|
SignedOut,
|
|
StartingLink,
|
|
LinkPending,
|
|
Polling,
|
|
SignedIn,
|
|
};
|
|
|
|
struct Snapshot
|
|
{
|
|
EClientState state;
|
|
bool requestInFlight;
|
|
bool hasError;
|
|
std::wstring accountDisplayName;
|
|
std::wstring accountUsername;
|
|
std::wstring accountId;
|
|
std::wstring verificationUri;
|
|
std::wstring verificationUriComplete;
|
|
std::wstring userCode;
|
|
std::wstring statusMessage;
|
|
std::wstring errorMessage;
|
|
};
|
|
|
|
void Tick();
|
|
Snapshot GetSnapshot();
|
|
bool StartDeviceLink();
|
|
bool SignOut();
|
|
}
|
|
|
|
#endif
|