59 bool ListenForPresses();
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.
Create Screen objects and report their button presses.
Result< Screen > Shared(std::string_view layout)
ScreenManager & operator=(const ScreenManager &)=delete
ScreenManager(const ScreenManager &)=delete
Event< const ButtonPress & > Pressed
Result< Screen > ForPlayer(std::string_view layout, int slot)
void OnPress(int slot, std::string_view buttonId)
std::function< Subscription(ScreenManager &)> Connector
"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.
static std::string ReadFile(const std::filesystem::path &path)
std::expected< void, Error > Status
std::expected< T, Error > Result