2018-07-04 15:01:50 -06:00
|
|
|
// Copyright 2018 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2+
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#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
|