mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
TraversalProto: Convert typedefs into using aliases
Same behavior, more straightforward reading.
This commit is contained in:
@ -1,12 +1,14 @@
|
|||||||
// This file is public domain, in case it's useful to anyone. -comex
|
// This file is public domain, in case it's useful to anyone. -comex
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <cstddef>
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
|
|
||||||
#define NETPLAY_CODE_SIZE 8
|
constexpr size_t NETPLAY_CODE_SIZE = 8;
|
||||||
typedef std::array<char, NETPLAY_CODE_SIZE> TraversalHostId;
|
using TraversalHostId = std::array<char, NETPLAY_CODE_SIZE>;
|
||||||
typedef u64 TraversalRequestId;
|
using TraversalRequestId = u64;
|
||||||
|
|
||||||
enum class TraversalPacketType : u8
|
enum class TraversalPacketType : u8
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user