mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 02:09:06 +00:00
Merge pull request #7945 from spycrab/np_browser
Qt/NetPlay: Implement session/server browser
This commit is contained in:
commit
23986d48f7
20 changed files with 854 additions and 11 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "Common/TraversalClient.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "InputCommon/GCPadStatus.h"
|
||||
#include "UICommon/NetPlayIndex.h"
|
||||
|
||||
namespace NetPlay
|
||||
{
|
||||
|
@ -136,6 +137,7 @@ private:
|
|||
std::vector<std::pair<std::string, std::string>> GetInterfaceListInternal() const;
|
||||
void ChunkedDataThreadFunc();
|
||||
void ChunkedDataSend(sf::Packet&& packet, PlayerId pid, const TargetMode target_mode);
|
||||
void SetupIndex();
|
||||
|
||||
bool PlayerHasControllerMapped(PlayerId pid) const;
|
||||
|
||||
|
@ -187,5 +189,6 @@ private:
|
|||
ENetHost* m_server = nullptr;
|
||||
TraversalClient* m_traversal_client = nullptr;
|
||||
NetPlayUI* m_dialog = nullptr;
|
||||
NetPlayIndex m_index;
|
||||
};
|
||||
} // namespace NetPlay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue