This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
@@ -0,0 +1,39 @@
#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_*