// wj_menu.h -- native side of the "Phone Join Lobby" menu screen. The
// ZScript shim (wadsrc/static/zscript/ui/menu/wj_lobbymenu.zs) is a thin
// GenericMenu subclass that just forwards Init()/Drawer() to these two
// functions and handles MKEY_Enter/MKEY_Back itself by calling the base
// Menu class's own native Close() -- see that file for why no native
// MenuEvent binding was needed.
#pragma once

// Called once when the lobby menu opens. Starts the webjoin HTTP/WS
// server if it isn't already running.
void WJ_LobbyOpen();

// Called every frame the lobby menu is on top of the menu stack. Draws
// the join QR code, join URL, and the current player roster.
void WJ_LobbyDrawer();
