class

AArcUILobbyScreen

The co-op front door: a server browser with Host and Direct Connect while the player is in no session, the crew's ready-up lobby between runs, and a call-back card while the crew is out. It reads and drives an IArcLobbySource — the game player installs one over FNetSession and the platform's lobby list — so the same screen runs in a test against a fake.

Module
ArcUI
Header
#include "ArcUI/Widgets/AArcUILobbyScreen.h"
Namespace
Arcf

The tree is rebuilt only when FArcLobbyModel::Poll reports a change, from the stack's per-frame TickAll, so a roster update or a server list landing shows up without the game wiring a refresh.

Constructors

SignatureNameDescription
AArcUILobbyScreen()AArcUILobbyScreen
~AArcUILobbyScreen() override~AArcUILobbyScreen

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetSourceFactoryThe host that can reach the session layer installs this before any screen is built; a screen built without one shows the Unavailable view.
boolHasSourceFactory
voidConstruct
::Mowo::FArcLobbyModel&Model
voidSetSource
voidTick
voidTickAll
int32_tLiveCount
voidRebuild
::Mowo::EArcLobbyViewGetBuiltViewWhat the last rebuild drew, for a test that cannot look at pixels.
int32_tGetBuiltPlayerCards
int32_tGetBuiltOpenSlots
int32_tGetBuiltServerRows
int32_tGetRebuildCount
const std::string&GetAddressError
voidPressReadyThe footer's actions, callable as the buttons call them.
voidPressStart
voidPressLeave
voidPressHost
voidPressRefresh
voidPressConnect
voidPressJoin
ArcVec2ComputeDesiredSize
voidArrangeChildren
int32_tOnPaint
const char*GetTypeName

Function details

AArcUILobbyScreen

C++
AArcUILobbyScreen()

~AArcUILobbyScreen

C++
~AArcUILobbyScreen() override

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(AArcUILobbyScreen) ARC_EVENT(CSimpleDelegate, OnClosed) ARC_EVENT(CSimpleDelegate, OnRunStarted) ARC_WIDGET_ARGS_END() using FSourceFactory = std::function<std::shared_ptr<::Mowo::IArcLobbySource>()>

SetSourceFactory

C++
static void SetSourceFactory(FSourceFactory factory)

The host that can reach the session layer installs this before any screen is built; a screen built without one shows the Unavailable view.

HasSourceFactory

C++
static bool HasSourceFactory()

Construct

C++
void Construct(const CArguments& args)

Model

C++
::Mowo::FArcLobbyModel& Model()

SetSource

C++
void SetSource(std::shared_ptr<::Mowo::IArcLobbySource> source)

Tick

C++
void Tick(float deltaSeconds)

TickAll

C++
static void TickAll(float deltaSeconds)

LiveCount

C++
static int32_t LiveCount()

Rebuild

C++
void Rebuild()

GetBuiltView

C++
::Mowo::EArcLobbyView GetBuiltView() const

What the last rebuild drew, for a test that cannot look at pixels.

GetBuiltPlayerCards

C++
int32_t GetBuiltPlayerCards() const

GetBuiltOpenSlots

C++
int32_t GetBuiltOpenSlots() const

GetBuiltServerRows

C++
int32_t GetBuiltServerRows() const

GetRebuildCount

C++
int32_t GetRebuildCount() const

GetAddressError

C++
const std::string& GetAddressError() const

PressReady

C++
void PressReady()

The footer's actions, callable as the buttons call them.

PressStart

C++
void PressStart(bool force)

PressLeave

C++
void PressLeave()

PressHost

C++
void PressHost()

PressRefresh

C++
void PressRefresh()

PressConnect

C++
void PressConnect(const std::string& address)

PressJoin

C++
void PressJoin(size_t serverIndex)

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

GetTypeName

C++
const char* GetTypeName() const override
Generated from ArcUI/Widgets/AArcUILobbyScreen.h via arcui.json · Nov 4, 2026Version 1.0.0