Property | Type | Description | |
---|---|---|---|
avatarPrefab | Avatar | ||
clientInfo | RequestSocket | ||
clientSimulation | RequestSocket | ||
debugNetworkMessages | bool | ||
environmentScene | string | ||
hostAddress | string | ||
logSimpleTimeInfo | bool | ||
logTimingInfo | bool | ||
portNumber | string | ||
portNumber_info | string | ||
saveDebugImageFiles | bool | ||
shouldCreateServer | bool | ||
shouldCreateTestClient | bool | ||
usePngFiles | bool |
Method | Description | |
---|---|---|
AreAllAvatarsReady ( ) : bool | ||
CreateJoinMsgJson ( ) : JsonData | ||
CreateMsgJson ( string msgType ) : JsonData | ||
GetAllAvatars ( ) : List |
||
GetServerForClient ( RequestSocket client ) : ResponseSocket | ||
HandleClientFrameMessage ( RequestSocket client, NetMQMessage msg ) : void | ||
HandleFrameMessage ( ResponseSocket server, NetMQMessage msg ) : void | ||
Init ( string hostAddress, string portNumber, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
Init ( string hostAddress, string portNumber, string portNumber_info, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
OnClientJoin ( ResponseSocket server, JsonData data ) : void | ||
ReadOutMessage ( NetMQMessage msg ) : string | ||
ReceiveSceneSwitch ( ResponseSocket server, JsonData jsonData ) : void | ||
RecieveClientInput ( ResponseSocket server, JsonData jsonData ) : void | ||
SendAndReceiveMongoDB ( JsonData jsonData ) : JsonData | ||
SendFrameUpdate ( CameraStreamer, streamCapture, Avatar a ) : void | ||
SimulateClientInput ( RequestSocket client, JsonData jsonData, NetMQMessage msg ) : void | ||
colorUIDToInt ( Color colorUID ) : int | ||
colorUIDToString ( Color colorUID ) : string |
Method | Description | |
---|---|---|
CreateNewSocketConnection ( ) : void | ||
CreateTestClient ( ResponseSocket server ) : void | ||
FixedUpdate ( ) : void | ||
OnDisable ( ) : void | ||
ReadOutFrame ( NetMQFrame frame ) : string | ||
Start ( ) : void | ||
Update ( ) : void | ||
sceneWasLoaded ( Scene scene, LoadSceneMode mode ) : void |
public static CreateJoinMsgJson ( ) : JsonData | ||
return | JsonData |
public static CreateMsgJson ( string msgType ) : JsonData | ||
msgType | string | |
return | JsonData |
public GetServerForClient ( RequestSocket client ) : ResponseSocket | ||
client | RequestSocket | |
return | ResponseSocket |
public HandleClientFrameMessage ( RequestSocket client, NetMQMessage msg ) : void | ||
client | RequestSocket | |
msg | NetMQMessage | |
return | void |
public HandleFrameMessage ( ResponseSocket server, NetMQMessage msg ) : void | ||
server | ResponseSocket | |
msg | NetMQMessage | |
return | void |
public Init ( string hostAddress, string portNumber, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
hostAddress | string | |
portNumber | string | |
shouldCreateTestClient | bool | |
shouldCreateServer | bool | |
debugNetworkMessages | bool | |
logSimpleTimingInfo | bool | |
logDetailedTimeInfo | bool | |
preferredImageFormat | string | |
saveDebugImageFiles | bool | |
environmentScene | string | |
return | void |
public Init ( string hostAddress, string portNumber, string portNumber_info, bool shouldCreateTestClient, bool shouldCreateServer, bool debugNetworkMessages, bool logSimpleTimingInfo, bool logDetailedTimeInfo, string preferredImageFormat, bool saveDebugImageFiles, string environmentScene ) : void | ||
hostAddress | string | |
portNumber | string | |
portNumber_info | string | |
shouldCreateTestClient | bool | |
shouldCreateServer | bool | |
debugNetworkMessages | bool | |
logSimpleTimingInfo | bool | |
logDetailedTimeInfo | bool | |
preferredImageFormat | string | |
saveDebugImageFiles | bool | |
environmentScene | string | |
return | void |
public OnClientJoin ( ResponseSocket server, JsonData data ) : void | ||
server | ResponseSocket | |
data | JsonData | |
return | void |
public static ReadOutMessage ( NetMQMessage msg ) : string | ||
msg | NetMQMessage | |
return | string |
public ReceiveSceneSwitch ( ResponseSocket server, JsonData jsonData ) : void | ||
server | ResponseSocket | |
jsonData | JsonData | |
return | void |
public RecieveClientInput ( ResponseSocket server, JsonData jsonData ) : void | ||
server | ResponseSocket | |
jsonData | JsonData | |
return | void |
public SendAndReceiveMongoDB ( JsonData jsonData ) : JsonData | ||
jsonData | JsonData | |
return | JsonData |
public SendFrameUpdate ( CameraStreamer, streamCapture, Avatar a ) : void | ||
streamCapture | CameraStreamer, | |
a | Avatar | |
return | void |
public SimulateClientInput ( RequestSocket client, JsonData jsonData, NetMQMessage msg ) : void | ||
client | RequestSocket | |
jsonData | JsonData | |
msg | NetMQMessage | |
return | void |
public static colorUIDToInt ( Color colorUID ) : int | ||
colorUID | Color | |
return | int |
public static colorUIDToString ( Color colorUID ) : string | ||
colorUID | Color | |
return | string |