Common/TraversalProto: Move interface into Common namespace

Gets the types out of the global namespace.
This commit is contained in:
Lioncash
2023-04-24 08:29:12 -04:00
parent 27f38c6c8f
commit 30e7ab94fa
6 changed files with 61 additions and 53 deletions

View File

@ -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