blob: da3208d5c13e7634162d2aeecb77daac6c83df41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  | 
#ifndef PSOV3ENCRYPTIONTCP_H
#define PSOV3ENCRYPTIONTCP_H
#include <global_types.h>
#include <string.h>
#include <pso/macros.h>
#include <pso/protocol.h>
#include <pso/PSOV3Encryption.h>
#include <pso/TArray.h>
class PSOV3EncryptionTCP : public PSOV3Encryption {
public:
	PSOV3EncryptionTCP();
	~PSOV3EncryptionTCP();
	void reset(u32 seed);
	void encrypt(void *void_data, int size);
	PRIVATE_MEMBER_ACCESSORS(u32, seed);
private:
	u32 m_seed;
};
#endif
  |