This repository has been archived on 2026-04-01. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
original-mcpe-0.6.1/handheld/project/lib_projects/raknet/jni/RaknetSources/PacketOutputWindowLogger.cpp
2026-04-01 23:13:15 +02:00

40 lines
790 B
C++

#include "NativeFeatureIncludes.h"
#if _RAKNET_SUPPORT_PacketLogger==1
#if defined(UNICODE)
#include "RakWString.h"
#endif
#include "PacketOutputWindowLogger.h"
#include "RakString.h"
#if defined(_WIN32) && !defined(X360__)
#include "WindowsIncludes.h"
#endif
using namespace RakNet;
PacketOutputWindowLogger::PacketOutputWindowLogger()
{
}
PacketOutputWindowLogger::~PacketOutputWindowLogger()
{
}
void PacketOutputWindowLogger::WriteLog(const char *str)
{
#if defined(_WIN32) && !defined(X360__)
#if defined(UNICODE)
RakNet::RakWString str2 = str;
str2+="\n";
OutputDebugString(str2.C_String());
#else
RakNet::RakString str2 = str;
str2+="\n";
OutputDebugString(str2.C_String());
#endif
#endif
}
#endif // _RAKNET_SUPPORT_*