Browse Source

Minor documentation clean up to remove reference to kNet.

Yao Wei Tjong 姚伟忠 7 years ago
parent
commit
c9f2edcb4a
4 changed files with 4 additions and 4 deletions
  1. 1 1
      Docs/GettingStarted.dox
  2. 1 1
      README.md
  3. 1 1
      Source/Urho3D/Network/Connection.h
  4. 1 1
      Source/Urho3D/Network/Network.h

+ 1 - 1
Docs/GettingStarted.dox

@@ -798,7 +798,7 @@ The third-party libraries used by Urho3D and their purposes are:
 - Civetweb: HTTP requests, use could be expanded to also provide an embedded web server
 - FreeType: font rendering
 - GLEW: OpenGL extensions handling
-- kNet: UDP networking
+- SLikeNet: UDP networking
 - libcpuid: CPU properties detection
 - Lua, LuaJIT, tolua+: Lua scripting implementation and bindings
 - LZ4: data compression for package files

+ 1 - 1
README.md

@@ -190,7 +190,7 @@ Urho3D uses the following third-party libraries:
 - Civetweb 1.7 (https://github.com/civetweb/civetweb)
 - FreeType 2.8 (https://www.freetype.org)
 - GLEW 1.13.0 (http://glew.sourceforge.net)
-- kNet (https://github.com/juj/kNet)
+- SLikeNet (https://github.com/SLikeSoft/SLikeNet)
 - libcpuid 0.4.0+ (https://github.com/anrieff/libcpuid)
 - Lua 5.1 (https://www.lua.org)
 - LuaJIT 2.1.0+ (http://www.luajit.org)

+ 1 - 1
Source/Urho3D/Network/Connection.h

@@ -110,7 +110,7 @@ class URHO3D_API Connection : public Object
     URHO3D_OBJECT(Connection, Object);
 
 public:
-    /// Construct with context and kNet message connection pointers.
+    /// Construct with context, RakNet connection address and Raknet peer pointer.
     Connection(Context* context, bool isClient, const SLNet::AddressOrGUID& address, SLNet::RakPeerInterface* peer);
     /// Destruct.
     ~Connection() override;

+ 1 - 1
Source/Urho3D/Network/Network.h

@@ -113,7 +113,7 @@ public:
     /// Return simulated packet loss probability.
     float GetSimulatedPacketLoss() const { return simulatedPacketLoss_; }
 
-    /// Return a client or server connection by kNet MessageConnection, or null if none exist.
+    /// Return a client or server connection by RakNet connection address, or null if none exist.
     Connection* GetConnection(const SLNet::AddressOrGUID& connection) const;
     /// Return the connection to the server. Null if not connected.
     Connection* GetServerConnection() const;