Răsfoiți Sursa

packet logger removed

Arnis Lielturkss 7 ani în urmă
părinte
comite
0bac3969e0

+ 3 - 3
Source/Samples/CMakeLists.txt

@@ -54,8 +54,8 @@ endmacro ()
 file (GLOB_RECURSE DIRS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} CMakeLists.txt)
 list (SORT DIRS)
 foreach (DIR ${DIRS})
-   get_filename_component (DIR ${DIR} PATH)
-   if (DIR)
+    get_filename_component (DIR ${DIR} PATH)
+    if (DIR)
        add_sample_subdirectory (${DIR})
-   endif ()
+    endif ()
 endforeach ()

+ 0 - 2
Source/Urho3D/Network/PacketLogger.cpp

@@ -1,2 +0,0 @@
-//
-//#include "PacketLogger.h"

+ 0 - 21
Source/Urho3D/Network/PacketLogger.h

@@ -1,21 +0,0 @@
-//
-//#pragma once
-//#include <SLikeNet/PluginInterface2.h>
-//#include "../IO/Log.h"
-//#include "../Container/Str.h"
-//
-//using namespace Urho3D;
-//
-//class PacketLogger : public SLNet::PluginInterface2 {
-//    /// OnReceive is called for every packet.
-//    /// \param[in] packet the packet that is being returned to the user
-//    /// \return True to allow the game and other plugins to get this message, false to absorb it
-//    virtual SLNet::PluginReceiveResult OnReceive(SLNet::Packet *packet) {
-//        counter++;
-//        URHO3D_LOGINFO("Incoming packet!!!! " + String(counter));
-//        (void) packet; return SLNet::RR_CONTINUE_PROCESSING;
-//    }
-//
-//    unsigned int counter{};
-//};
-//