diff options
| author | 2022-07-25 18:31:45 -0400 | |
|---|---|---|
| committer | 2022-07-25 18:31:45 -0400 | |
| commit | 1e67d2b59f6dfd561768db3fb9a8e0c6a16ec9f2 (patch) | |
| tree | 999411f1ca76390654d1034c6d0bd2c47c3f101c /src/core/core.h | |
| parent | Merge pull request #8564 from lat9nq/dinner-fork (diff) | |
| parent | network: Address review comments (diff) | |
| download | yuzu-1e67d2b59f6dfd561768db3fb9a8e0c6a16ec9f2.tar.gz yuzu-1e67d2b59f6dfd561768db3fb9a8e0c6a16ec9f2.tar.xz yuzu-1e67d2b59f6dfd561768db3fb9a8e0c6a16ec9f2.zip | |
Merge pull request #8541 from FearlessTobi/multiplayer-part1
yuzu, network: Add room service and UI configuration
Diffstat (limited to 'src/core/core.h')
| -rw-r--r-- | src/core/core.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h index a49d1214b..13122dd61 100644 --- a/src/core/core.h +++ b/src/core/core.h | |||
| @@ -97,6 +97,10 @@ namespace Core::HID { | |||
| 97 | class HIDCore; | 97 | class HIDCore; |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | namespace Network { | ||
| 101 | class RoomNetwork; | ||
| 102 | } | ||
| 103 | |||
| 100 | namespace Core { | 104 | namespace Core { |
| 101 | 105 | ||
| 102 | class ARM_Interface; | 106 | class ARM_Interface; |
| @@ -379,6 +383,12 @@ public: | |||
| 379 | [[nodiscard]] Core::Debugger& GetDebugger(); | 383 | [[nodiscard]] Core::Debugger& GetDebugger(); |
| 380 | [[nodiscard]] const Core::Debugger& GetDebugger() const; | 384 | [[nodiscard]] const Core::Debugger& GetDebugger() const; |
| 381 | 385 | ||
| 386 | /// Gets a mutable reference to the Room Network. | ||
| 387 | [[nodiscard]] Network::RoomNetwork& GetRoomNetwork(); | ||
| 388 | |||
| 389 | /// Gets an immutable reference to the Room Network. | ||
| 390 | [[nodiscard]] const Network::RoomNetwork& GetRoomNetwork() const; | ||
| 391 | |||
| 382 | void SetExitLock(bool locked); | 392 | void SetExitLock(bool locked); |
| 383 | [[nodiscard]] bool GetExitLock() const; | 393 | [[nodiscard]] bool GetExitLock() const; |
| 384 | 394 | ||