This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

RakNet Plugin

A RakNet plugin provides the following functionality for Unigine-based applications out of the box:

  • Client/server architecture
  • Exchange of time-stamped data through the network
  • Synchronization of states between the server and the client
  • Statistics about network connection
  • LAN server discovery

Network functionality is provided through RakNet, a cross-platform C++ game networking engine, which is integrated into Unigine framework. (See details).

How to Load Network Plugin

To dynamically load the Network plugin, the following is required:

  • Network library of the same bitness/debug version as Unigine executable (for example, libNetwork_x86d.so).
  • RakNet library of the same version (for example, libRakNet_x86d.so).
  • Define the following command by the engine start-up or in the launcher:
    Shell commands
    main_x86d -extern_plugin Network
    
    Here, you can define path to the Network module (without any prefixes or postfixes): relative to the executable or an absolute one.
Last update: 03.07.2017
Build: ()