1 Star 0 Fork 1

xj1 / RakNet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
3.x_to_4.x_upgrade.txt 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
Alex Howland 提交于 2014-06-04 17:27 . initial commit
Major changes from version 3:
RakPeer::Startup() and RakPeer::Connect() now return enumeration results, rather than true or false.
Security rewritten. InitializeSecurity now does not work unless LIBCAT_SECURITY is set to 1 in NativeFeatureIncludesOverrides.h. You pass the remote public key to RakPeer::Connect(), instead of RakPeer::InitializeSecurity()
RakNetworkFactory has been deleted. Instead, most classes have a static function GetInstance() and DestroyInstance() defined by the macro STATIC_FACTORY_DECLARATIONS
Deleted RakPeer::RPC, AutoRPC, ConnectionGraph, ReplicaManager, ReplicaManager2, Router, LightweightDatabase, and RakNetTransport. Use newer versions of these classes/function instead.
BitStream now takes const references for all input parameters. If you want to cast, use SerializeCasted(), WriteCasted, and ReadCasted(), or else just copy the variable to the desired type first.
RakNetTimeMS, RakNetTime, and RakNetTimeUS have been renamed and put in namespaces RakNet::TimeMS, RakNet::Time, and RakNet::TimeUS
Most classes are now in the RakNet namespace.
Added _FILE_AND_LINE_ to RakNetDefines.h so the user can strip out this information if desired.
C# is now supported. See Help\swigtutorial.html
NetworkIDObject and NetworkIDManager systems largely rewritten. IsNetworkIDAuthority() no longer is needed, so was removed.
RakPeer::Startup() no longer takes a threadSleepTimer parameter.
ID_UNCONNECTED_PONG now returns the pong always in 4 bytes (RakNet::TimeMS). Furthermore, the timestamp is in network order. Use BitStreams to read the timestamp out.
IsConnected() was replaced with GetConnectionState()
HTML
1
https://gitee.com/xj1/RakNet.git
git@gitee.com:xj1/RakNet.git
xj1
RakNet
RakNet
master

搜索帮助