Finished implementing, now for the testing phase.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "ehs/Str.h"
|
||||
#include "ehs/Version.h"
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
@@ -11,16 +12,16 @@ namespace ehs
|
||||
private:
|
||||
friend class EHC;
|
||||
|
||||
EHC *owner;
|
||||
UInt_64 hashId;
|
||||
Str_8 id;
|
||||
UInt_64 id;
|
||||
Str_8 name;
|
||||
Version version;
|
||||
|
||||
public:
|
||||
virtual ~NetEnc() = default;
|
||||
|
||||
NetEnc();
|
||||
|
||||
NetEnc(Str_8 id);
|
||||
NetEnc(Str_8 name, const Version &version);
|
||||
|
||||
NetEnc(NetEnc &&enc) noexcept;
|
||||
|
||||
@@ -30,14 +31,14 @@ namespace ehs
|
||||
|
||||
NetEnc &operator=(const NetEnc &enc);
|
||||
|
||||
EHC *GetOwner() const;
|
||||
UInt_64 GetId() const;
|
||||
|
||||
UInt_64 GetHashId() const;
|
||||
Str_8 GetName() const;
|
||||
|
||||
Str_8 GetId() const;
|
||||
Version GetVersion() const;
|
||||
|
||||
virtual void Encrypt(Byte *data, UInt_64 size) const;
|
||||
|
||||
virtual void Decrypt(Byte *data, UInt_64 size) const;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user