This page has been translated automatically.
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
FAQ
编程
Fundamentals
Setting Up Development Environment
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
应用程序接口
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

IG::CIGI::ConnectorInterface Class

Header: #include <UnigineCIGIConnectorInterface.h>

IG::CIGI::ConnectorInterface Class

Members


int init ( int version, const char * host, int send, int recv, int size ) #

Arguments

  • int version
  • const char * host
  • int send
  • int recv
  • int size

int shutdown ( ) #

int isInitialized ( ) #

void setIGMode ( int mode ) #

Arguments

  • int mode

int getIGMode ( ) #

void setIGStatus ( int status ) #

Arguments

  • int status

int getIGStatus ( ) #

int getInterpolation ( ) #

unsigned int getIGFrame ( ) #

unsigned int getHostFrame ( ) #

double getHostTime ( ) #

double getLastReceivedHostTime ( ) #

void setConnectCallback ( CallbackBase * func ) #

Arguments

  • CallbackBase * func

CallbackBase * getConnectCallback ( ) #

void setReceivePacketCallback ( int cigi_opcode, CallbackBase * func ) #

Arguments

  • int cigi_opcode
  • CallbackBase * func

CallbackBase * getReceivePacketCallback ( int cigi_opcode ) #

Arguments

  • int cigi_opcode

int getNumHostPackets ( ) #

ICigiHostPacket * getHostPacket ( int num ) #

Arguments

  • int num

ICigiIGPacket * createIGPacket ( int ig_opcode ) #

Arguments

  • int ig_opcode

void addIGPacket ( ICigiIGPacket * packet ) #

Arguments

  • ICigiIGPacket * packet

void showDebug ( ) #

Last update: 2019-12-25
Build: ()