56 void OnPress(
int slot, std::string_view buttonId);
68 std::vector<const ScreenEntity*> _live;
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see...
A multicast signal with a fixed handler signature: the one way to subscribe in VoltMod.
Per-client network access: latency, userids, usercmd status and the client's replicated userinfo cvar...
bool HasCursor(int slot) const
ScreenManager & operator=(const ScreenManager &)=delete
ScreenManager(EntitySystem &entities, const Bindings &bindings, SlotEvents &slots, Visibility &visibility, const NetChannels &clients, Connector connect)
ScreenManager(const ScreenManager &)=delete
Event< const ButtonPress & > Pressed
void OnPress(int slot, std::string_view buttonId)
std::function< Subscription(ScreenManager &)> Connector
Result< Screen > Create(std::string_view layout, int slot)
"The occupant of this slot changed" - raised by PlayerManager, consumed below it.
Owns one registration and releases it on destruction.
Which clients receive which entities, filtered after CheckTransmit.
std::expected< void, Error > Status
std::expected< T, Error > Result