2018-07-04 21:01:50 +00:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2018-07-04 21:01:50 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common/CommonTypes.h"
|
2018-10-02 08:45:36 +00:00
|
|
|
#include "Common/Swap.h"
|
2018-07-04 21:01:50 +00:00
|
|
|
|
|
|
|
namespace sf
|
|
|
|
{
|
|
|
|
class Packet;
|
|
|
|
}
|
|
|
|
|
2018-10-02 08:45:36 +00: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 21:01:50 +00:00
|
|
|
namespace Common
|
|
|
|
{
|
|
|
|
u64 PacketReadU64(sf::Packet& packet);
|
|
|
|
} // namespace Common
|