Files
minecraft-pe-0.6.1/project/lib_projects/raknet/jni/RaknetSources/PacketOutputWindowLogger.cpp
2026-03-02 22:04:18 +03:00

40 lines
790 B
C++
Executable File

#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_*