mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 05:08:57 +00:00
Common/TraversalProto: Move interface into Common namespace
Gets the types out of the global namespace.
This commit is contained in:
parent
27f38c6c8f
commit
30e7ab94fa
6 changed files with 61 additions and 53 deletions
|
@ -6,6 +6,8 @@
|
|||
#include <cstddef>
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
constexpr size_t NETPLAY_CODE_SIZE = 8;
|
||||
using TraversalHostId = std::array<char, NETPLAY_CODE_SIZE>;
|
||||
using TraversalRequestId = u64;
|
||||
|
@ -92,3 +94,4 @@ struct TraversalPacket
|
|||
};
|
||||
};
|
||||
#pragma pack(pop)
|
||||
} // namespace Common
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue