forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
39
src/raknet/PacketOutputWindowLogger.cpp
Executable file
39
src/raknet/PacketOutputWindowLogger.cpp
Executable file
|
|
@ -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_*
|
||||
Loading…
Add table
Add a link
Reference in a new issue