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