mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
TraversalProto: Convert typedefs into using aliases
Same behavior, more straightforward reading.
This commit is contained in:
parent
d48b5615ae
commit
f0c6e696fd
1 changed files with 5 additions and 3 deletions
|
@ -1,12 +1,14 @@
|
|||
// This file is public domain, in case it's useful to anyone. -comex
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
#define NETPLAY_CODE_SIZE 8
|
||||
typedef std::array<char, NETPLAY_CODE_SIZE> TraversalHostId;
|
||||
typedef u64 TraversalRequestId;
|
||||
constexpr size_t NETPLAY_CODE_SIZE = 8;
|
||||
using TraversalHostId = std::array<char, NETPLAY_CODE_SIZE>;
|
||||
using TraversalRequestId = u64;
|
||||
|
||||
enum class TraversalPacketType : u8
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue