56 void Open(
int slot, std::shared_ptr<Menu>
menu)
override;
74 std::vector<Tab> Tabs;
78 bool HomePage =
false;
81 int ItemAt(
int slot,
int row)
const;
82 void ReadTabs(
int slot);
86 void DrawTabs(
int slot);
87 void DrawRows(
int slot,
const Menu&
menu);
88 void DrawPrompt(
int slot);
90 void OnPress(
const ButtonPress&
press);
91 void Activate(
int slot,
int index);
93 void OpenTab(
int slot,
int tab);
99 PanoramaMenuLayout& _layout;
101 PerSlot<Session> _sessions;
The one permission and targeting gate, plus the plugin's reply callback.
One-shot delays and repeating timers, run on the game thread.
Create Screen objects and report their button presses.
"The occupant of this slot changed" - raised by PlayerManager, consumed below it.
Localization system. Loads one JSON file per language; nested objects flatten into dotted keys (categ...
static std::string ReadFile(const std::filesystem::path &path)