Files
InstanceBrick--nightcap/include/runtime/roblox_platform_web_symbols.h
T
vii 5c5422fa02 fix(login): answer AccountProtocol device-integrity requests
Roblox login challenges asked for a Play Integrity token that nothing
answered, so the challenge sat out LuaApp's native timeout and looped.
A new optional bridge reports integrity as unsupported and answers token
requests at once with an empty token (TOKEN_PROVIDER_UNINITIALIZED).
2026-09-29 16:37:12 -05:00

36 lines
1.2 KiB
C++

#ifndef MOCKTAIL_RUNTIME_ROBLOX_PLATFORM_WEB_SYMBOLS_H_
#define MOCKTAIL_RUNTIME_ROBLOX_PLATFORM_WEB_SYMBOLS_H_
#include "runtime/roblox_account_bridge.h"
#include "runtime/roblox_browser_service_bridge.h"
#include "runtime/roblox_permissions_bridge.h"
#include "runtime/roblox_web_view_bridge.h"
namespace mocktail {
namespace runtime {
// Exported web-platform entrypoints resolved as one capability. Keeping
// this Build-ID-sensitive symbol inventory outside the research runtime lets
// the composition fail closed when a future payload changes any contract.
struct RobloxPlatformWebSymbols {
RobloxWebViewMessageBusSymbols web_view;
RobloxBrowserServiceSymbols browser_service;
RobloxPermissionsMessageBusSymbols permissions;
// Optional and excluded from complete(); see RobloxExperienceComposition.
RobloxAccountProtocolSymbols account;
bool complete() const {
return web_view.complete() && browser_service.complete() &&
permissions.complete();
}
};
RobloxPlatformWebSymbols ResolveRobloxPlatformWebSymbols(
void* roblox_library, SubscribeWebViewRawFn subscribe_raw,
DeleteWebViewConnectionFn delete_connection);
} // namespace runtime
} // namespace mocktail
#endif // MOCKTAIL_RUNTIME_ROBLOX_PLATFORM_WEB_SYMBOLS_H_