Network: Add NetPacket class

Former-commit-id: 0c5acdbf9313621dddd3dcee23c6f85f46c27012
This commit is contained in:
Lynix
2016-02-03 18:44:03 +01:00
parent 89c796ed5c
commit 4312de828e
4 changed files with 246 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Core module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Core/Debug.hpp>
namespace Nz
{
inline UInt16 NetPacket::GetNetCode() const
{
return m_netCode;
}
inline void NetPacket::SetNetCode(UInt16 netCode)
{
m_netCode = netCode;
}
}
#include <Nazara/Core/DebugOff.hpp>