2018-07-04 23:01:50 +02:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
2021-07-05 03:22:19 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-07-04 23:01:50 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2018-10-02 10:45:36 +02:00
|
|
|
#include "Common/Swap.h"
|
2018-07-04 23:01:50 +02:00
|
|
|
|
|
|
|
namespace sf
|
|
|
|
{
|
|
|
|
class Packet;
|
|
|
|
}
|
|
|
|
|
2018-10-02 10:45:36 +02:00
|
|
|
sf::Packet& operator>>(sf::Packet& packet, Common::BigEndianValue<u16>& data);
|
|
|
|
sf::Packet& operator>>(sf::Packet& packet, Common::BigEndianValue<u32>& data);
|
|
|
|
sf::Packet& operator>>(sf::Packet& packet, Common::BigEndianValue<u64>& data);
|
|
|
|
|
2018-07-04 23:01:50 +02:00
|
|
|
namespace Common
|
|
|
|
{
|
|
|
|
u64 PacketReadU64(sf::Packet& packet);
|
|
|
|
} // namespace Common
|