Added a test build
[RedVex.git] / core / RealmProxy.h
blob2c437b33b9a4545aee26847f243da3c0564992ab
1 #pragma once
2 #include "TcpProxy.h"
4 class PluginManager;
6 class RealmProxy :
7 public TcpProxy
9 public:
10 RealmProxy();
11 ~RealmProxy();
12 void __stdcall OnRelayDataToClient(IPacket* packet, const IModule* owner);
13 void __stdcall OnRelayDataToServer(IPacket* packet, const IModule* owner);
15 protected:
16 void OnStateChange(ProxyState previous, ProxyState current);
17 PacketMarshal* CreateServerPacketMarshal();
18 PacketMarshal* CreateClientPacketMarshal();
20 private:
21 std::list<IPacket*> _packets;