mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 08:27:53 +00:00
network: Move global state into a seperate class
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
This commit is contained in:
parent
3a91e22e80
commit
10e2c8ef6a
21 changed files with 152 additions and 98 deletions
|
@ -14,7 +14,7 @@ class ClientRoomWindow : public QDialog {
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit ClientRoomWindow(QWidget* parent);
|
||||
explicit ClientRoomWindow(QWidget* parent, Network::RoomNetwork& room_network_);
|
||||
~ClientRoomWindow();
|
||||
|
||||
void RetranslateUi();
|
||||
|
@ -36,4 +36,5 @@ private:
|
|||
|
||||
QStandardItemModel* player_list;
|
||||
std::unique_ptr<Ui::ClientRoom> ui;
|
||||
Network::RoomNetwork& room_network;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue