32 lines
608 B
C++
32 lines
608 B
C++
#ifndef NETWORK_DEPENDENCIES_TRANSLATOR_H
|
|
#define NETWORK_DEPENDENCIES_TRANSLATOR_H
|
|
|
|
//////////////////////////////////
|
|
// Created by Sam Svensson 2013 //
|
|
//////////////////////////////////
|
|
|
|
#include "Messages/MessagesInclude.h"
|
|
#include "Protocols.h"
|
|
#include "ITranslate.h"
|
|
#include "OysterByte.h"
|
|
|
|
namespace Oyster
|
|
{
|
|
namespace Network
|
|
{
|
|
class Translator : public ITranslate
|
|
{
|
|
public:
|
|
Translator () { };
|
|
~Translator() { };
|
|
|
|
void Pack (Protocols::ProtocolHeader &header, OysterByte& bytes );
|
|
void Unpack (Protocols::ProtocolSet* set, OysterByte& bytes );
|
|
|
|
private:
|
|
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif |