void BlueVexWrapper::RelayToServer(const unsigned char* bytes, int length, IProxy* proxy, IModule* module) { IPacket* packet = proxy->CreatePacket(bytes, length); packet->SetFlag(IPacket::PacketFlag_Hidden); proxy->RelayDataToServer(packet,module); delete packet; }
void BlueVexWrapper::RelayToClient(const unsigned char* bytes, int length, IProxy* proxy, IModule* module) //System::IntPtr _proxy, System::IntPtr _module, { IPacket* packet = proxy->CreatePacket(bytes, length); packet->SetFlag(IPacket::PacketFlag_Hidden); proxy->RelayDataToClient(packet,module); delete packet; }